1. 程式人生 > >dashboard and reporting Interface analysis

dashboard and reporting Interface analysis

bin [ ] size response remote message thp page filter

dashboard and reporting Interface analysis

System Log Interface :

技術分享圖片

技術分享圖片

技術分享圖片

root@vpx# tail -f /var/log/ns.log

Jul 24 18:04:56 <local0.info> 192.168.195.208 07/24/2018:10:04:56 GMT vpx 0-PPE-0 : default GUI CMD_EXECUTED 31544 0 :  User nsroot - Remote_ip 192.168.195.1 - Command "show ns events 1651" - Status "Success"
Jul 24 18:04:56 <local0.info> 192.168.195.208 07/24/2018:10:04:56 GMT vpx 0-PPE-0 : default GUI CMD_EXECUTED 31545 0 :  User nsroot - Remote_ip 192.168.195.1 - Command "show ns ip 192.168.195.208" - Status "Success"
Jul 24 18:04:56 <local0.info> 192.168.195.208 07/24/2018:10:04:56 GMT vpx 0-PPE-0 : default GUI CMD_EXECUTED 31546 0 :  User nsroot - Remote_ip 192.168.195.1 - Command "show ns partition" - Status "Success"
Jul 24 18:04:56 <local0.info> 192.168.195.208 07/24/2018:10:04:56 GMT vpx 0-PPE-0 : default GUI CMD_EXECUTED 31547 0 :  User nsroot - Remote_ip 192.168.195.1 - Command "show ns partition" - Status "Success"
Jul 24 18:04:57 <local0.info> 192.168.195.208 07/24/2018:10:04:57 GMT vpx 0-PPE-0 : default EVENT MONITORUP 31548 0 :  Monitor MonServiceBinding_8.8.8.8:53_(ping-default)(nameserver_8.8.8.8_53) - State UP
Jul 24 18:04:57 <local0.notice> 192.168.195.208 07/24/2018:10:04:57 GMT vpx 0-PPE-0 : default EVENT DEVICEUP 31549 0 :  Device "server_svc_NSSVC_DNS_8.8.8.8:53(nameserver_8.8.8.8_53)" - State UP
Jul 24 18:04:57 <local0.notice> 192.168.195.208 07/24/2018:10:04:57 GMT vpx 0-PPE-0 : default EVENT DEVICEUP 31550 0 :  Device "server_vip_NSSVC_DNS_127.0.0.2:53(ns_int_name_server)" - State UP

root@vpx# tail -f /var/log/nitro.log

Jul 24 18:04:56 <local5.info> vpx httpd: Netscaler_ip 192.168.195.208 - User #TOKENUSER# - Remote_ip 192.168.195.1 - Method GET - Command { "params": { "view": "detail", "filter": [ ] } }{ "nsevents": { "eventno": "1651" } }   
Jul 24 18:04:56 <local5.info> vpx httpd: Netscaler_ip 192.168.195.208 - User #TOKENUSER# - Remote_ip 192.168.195.1 - Method GET - Command { "params": { "view": "detail", "filter": [ ] } }{ "nsevents": { "eventno": "1651" } }
- Status "Success" Jul 24 18:04:56 <local5.info> vpx httpd: Netscaler_ip 192.168.195.208 - User #TOKENUSER# - Remote_ip 192.168.195.1 - Method GET - Command { "params": { "view": "detail", "filter": [ ] } }{ "nsip": { "ipaddress": "192.168.195.208" } } Jul 24 18:04:56 <local5.info> vpx httpd: Netscaler_ip 192.168.195.208 - User #TOKENUSER# - Remote_ip 192.168.195.1 - Method GET - Command { "params": { "view": "detail", "filter": [ ] } }{ "nsip": { "ipaddress": "192.168.195.208" } } - Status "Success" Jul 24 18:04:56 <local5.info> vpx httpd: Netscaler_ip 192.168.195.208 - User #TOKENUSER# - Remote_ip 192.168.195.1 - Method GET - Command { "params": { "view": "detail", "filter": [ ] } }{ "nspartition": { } } Jul 24 18:04:56 <local5.info> vpx httpd: Netscaler_ip 192.168.195.208 - User #TOKENUSER# - Remote_ip 192.168.195.1 - Method GET - Command { "params": { "view": "detail", "filter": [ ] } }{ "nspartition": { } } - Status "Success" Jul 24 18:04:56 <local5.info> vpx httpd: Netscaler_ip 192.168.195.208 - User #TOKENUSER# - Remote_ip 192.168.195.1 - Method GET - Command { "params": { "view": "detail", "filter": [ ] } }{ "nspartition": { } } Jul 24 18:04:56 <local5.info> vpx httpd: Netscaler_ip 192.168.195.208 - User #TOKENUSER# - Remote_ip 192.168.195.1 - Method GET - Command { "params": { "view": "detail", "filter": [ ] } }{ "nspartition": { } } - Status "Success"

===============================================

手動執行 nitro api 接口報文:

root@vpx# nitro -method get -U :nsroot:nsroot "{ \"params\": { \"filter\": [], \"pageno\": 1, \"pagesize\": 200 }, \"nsevents\":{\"eventno\":\"1676\"}}"
{ "errorcode": 0, "message": "Done", "severity": "NONE", "nsevents": [ { "eventno": "1677", "time": "1532426857", "eventcode": "263", "devid": "1372", "devname": "server_svc_NSSVC_DNS_8.8.8.8:53(nameserver_8.8.8.8_53)", "text": "‘server_svc_NSSVC_DNS_8.8.8.8:53(nameserver_8.8.8.8_53)‘ DOWN", "data0": "0", "data1": "0", "data2": "0", "data3": "0" }, { "eventno": "1678", "time": "1532426857", "eventcode": "263", "devid": "222", "devname": "server_vip_NSSVC_DNS_127.0.0.2:53(ns_int_name_server)", "text": "‘server_vip_NSSVC_DNS_127.0.0.2:53(ns_int_name_server)‘ DOWN", "data0": "1", "data1": "0", "data2": "0", "data3": "0" } ] }
root@vpx# 

接口響應內容:

{
    "errorcode": 0,
    "message": "Done",
    "severity": "NONE",
    "nsevents": [{
        "eventno": "1677",
        "time": "1532426857",
        "eventcode": "263",
        "devid": "1372",
        "devname": "server_svc_NSSVC_DNS_8.8.8.8:53(nameserver_8.8.8.8_53)",
        "text": "‘server_svc_NSSVC_DNS_8.8.8.8:53(nameserver_8.8.8.8_53)‘ DOWN",
        "data0": "0",
        "data1": "0",
        "data2": "0",
        "data3": "0"
    }, {
        "eventno": "1678",
        "time": "1532426857",
        "eventcode": "263",
        "devid": "222",
        "devname": "server_vip_NSSVC_DNS_127.0.0.2:53(ns_int_name_server)",
        "text": "‘server_vip_NSSVC_DNS_127.0.0.2:53(ns_int_name_server)‘ DOWN",
        "data0": "1",
        "data1": "0",
        "data2": "0",
        "data3": "0"
    }]
}

root@vpx# tail -f /var/log/nitro.log

Jul 24 18:11:39 <local5.info> vpx nitro: Netscaler_ip (null) - User (null) - Remote_ip (null) - Method get - Command { "params": { "filter": [ ], "pageno": 1, "pagesize": 200 } }{ "nsevents": { "eventno": "1676" } }   
Jul 24 18:11:39 <local5.info> vpx nitro: Netscaler_ip (null) - User (null) - Remote_ip (null) - Method get - Command { "params": { "filter": [ ], "pageno": 1, "pagesize": 200 } }{ "nsevents": { "eventno": "1676" } }   - Status "Success"

root@vpx# tail -f /var/log/ns.log

Jul 24 18:12:20 <local0.info> 192.168.195.208 07/24/2018:10:12:20 GMT vpx 0-PPE-0 : default AAA Message 31584 0 :  "rba authentication : user nsroot response_len-0 cmdPolicyLen-0, partitionLen-0 PromptLen-0 timeout 805349568 authPolicyLen-0 authActionLen-0 ssh_pubkey_len-0"
Jul 24 18:12:20 <local0.info> vpx [1135]: setsockopt timeout set to 15 sec
Jul 24 18:12:20 <local0.info> 192.168.195.208 07/24/2018:10:12:20 GMT vpx 0-PPE-0 : default CLI CMD_EXECUTED 31585 0 :  User nsroot - Remote_ip  - Command "login nsroot "********"" - Status "Success"
Jul 24 18:12:20 <local0.info> 192.168.195.208 07/24/2018:10:12:20 GMT vpx 0-PPE-0 : default CLI CMD_EXECUTED 31586 0 :  User nsroot - Remote_ip  - Command "show ns events 1676" - Status "Success"

===============================================

技術分享圖片

技術分享圖片

技術分享圖片

技術分享圖片

dashboard and reporting Interface analysis