{"action":"created","issue":{"url":"https://api.github.com/repos/librenms/librenms/issues/2413","labels_url":"https://api.github.com/repos/librenms/librenms/issues/2413/labels{/name}","comments_url":"https://api.github.com/repos/librenms/librenms/issues/2413/comments","events_url":"https://api.github.com/repos/librenms/librenms/issues/2413/events","html_url":"https://github.com/librenms/librenms/issues/2413","id":116195886,"number":2413,"title":"netscaler-vsvr not finding the vservers","user":{"login":"masonke","id":1863778,"avatar_url":"https://avatars.githubusercontent.com/u/1863778?v=3","gravatar_id":"","url":"https://api.github.com/users/masonke","html_url":"https://github.com/masonke","followers_url":"https://api.github.com/users/masonke/followers","following_url":"https://api.github.com/users/masonke/following{/other_user}","gists_url":"https://api.github.com/users/masonke/gists{/gist_id}","starred_url":"https://api.github.com/users/masonke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masonke/subscriptions","organizations_url":"https://api.github.com/users/masonke/orgs","repos_url":"https://api.github.com/users/masonke/repos","events_url":"https://api.github.com/users/masonke/events{/privacy}","received_events_url":"https://api.github.com/users/masonke/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-11-10T20:34:19Z","updated_at":"2015-12-18T02:07:29Z","closed_at":null,"body":"Running virtual Netscaler version 11, which might be the problem. The netscaler-vsvr module is enabled, but the vservers are never discovered. \r\n\r\nThe Netscaler mib in the /opt/librenms/mibs is NS-MIB, the new one fromthe Netscaler is NS-MIB-SMIV2-MIB.\r\nRan ./poller.php -h my-netscaler-a -m netscaler-vsvr -d and it looks like something changed in the MIB\r\nvserverEntry = No Such Object available on this agent at this OID\r\n\r\nFull run below.\r\n\r\nAny ideas? We can test this if someone has a fix. Plus, I have the MIB file, but not sure how to make sure it is legally added to the repository,\r\n\r\n\r\nlibrenms@librepoller-a:~$ ./poller.php -h my-netscaler-a -m netscaler-vsvr -d\r\nUnlinked OID in IPATM-IPMC-MIB: marsMIB ::= { mib-2 57 }\r\nUndefined identifier: mib-2 near line 18 of /usr/share/mibs/ietf/IPATM-IPMC-MIB\r\nBad operator (INTEGER): At line 73 in /usr/share/mibs/ietf/SNMPv2-PDU\r\nExpected \"::=\" (RFC5644): At line 493 in /usr/share/mibs/iana/IANA-IPPM-METRICS-REGISTRY-MIB\r\nExpected \"{\" (EOF): At line 651 in /usr/share/mibs/iana/IANA-IPPM-METRICS-REGISTRY-MIB\r\nBad object identifier: At line 651 in /usr/share/mibs/iana/IANA-IPPM-METRICS-REGISTRY-MIB\r\nBad parse of OBJECT-IDENTITY: At line 651 in /usr/share/mibs/iana/IANA-IPPM-METRICS-REGISTRY-MIB\r\nLibreNMS 2015.master Poller\r\ncommit 725fc56f410030562d3e818142774a86ed3a66f8\r\n\r\nDEBUG!\r\nStarting polling run:\r\n\r\n\r\nSQL[SELECT `device_id` FROM `devices` WHERE `disabled` = 0 AND `hostname` LIKE 'my-netscaler-a' ORDER BY `device_id` ASC] my-netscaler-a 1024 netscaler\r\n\r\nSQL[INSERT INTO `device_perf` (`xmt`,`rcv`,`loss`,`min`,`max`,`avg`,`device_id`,`timestamp`)  VALUES ('3','3','0','1.68','3.15','2.58','1024',NOW())] DEBUG: SNMP Auth options =  -v2c -c mycommunitystring\r\n/usr/bin/snmpget -v2c -c mycommunitystring -Oqv -m SNMPv2-MIB -M /opt/librenms/mibs -t 1 -r 5 udp:my-netscaler-a:161 sysObjectID.0\r\nSNMPv2-SMI::enterprises.5951.1\r\n\r\nNetscaler VServers\r\nDEBUG: SNMP Auth options =  -v2c -c mycommunitystring\r\n/usr/bin/snmpbulkwalk -v2c -c mycommunitystring -OQUs  -m NS-ROOT-MIB -M /opt/librenms/mibs -t 1 -r 5 udp:my-netscaler-a:161 vserverEntry\r\nvserverEntry = No Such Object available on this agent at this OID\r\n\r\n\r\nSQL[SELECT * FROM `netscaler_vservers` WHERE `device_id` = '1024'] RRD[update ././my-netscaler-a/poller-perf.rrd N:0.663 --daemon 10.70.201.41:42217] RRD[update ././my-netscaler-a/ping-perf.rrd N:2.58 --daemon 10.70.201.41:42217] Polled in 0.663 seconds\r\nUpdating my-netscaler-a\r\nArray\r\n(\r\n    [last_ping] => Array\r\n        (\r\n            [0] => NOW()\r\n        )\r\n\r\n    [last_ping_timetaken] => 2.58\r\n    [last_polled] => Array\r\n        (\r\n            [0] => NOW()\r\n        )\r\n\r\n    [last_polled_timetaken] => 0.663\r\n)\r\n\r\nSQL[UPDATE `devices` set `last_ping` =NOW(),`last_ping_timetaken` ='2.58',`last_polled` =NOW(),`last_polled_timetaken` ='0.663' WHERE `device_id` = '1024'] UPDATED!\r\n\r\nSQL[SELECT DISTINCT(devices.device_id) FROM devices WHERE device_id='1024' && (devices.hostname REGEXP \"wnd\" &&) LIMIT 1]\r\nSQL[SELECT DISTINCT(alert_schedule.schedule_id) FROM alert_schedule LEFT JOIN alert_schedule_items ON alert_schedule.schedule_id=alert_schedule_items.schedule_id WHERE ( alert_schedule_items.target = '1024' ) && NOW() BETWEEN alert_schedule.start AND alert_schedule.end LIMIT 1]\r\nSQL[SELECT DISTINCT(devices.device_id) FROM devices WHERE device_id='1024' && (devices.hostname REGEXP \"wnd\" &&) LIMIT 1]  #3:\r\nSQL[SELECT state FROM alerts WHERE rule_id = '3' && device_id = '1024' ORDER BY id DESC LIMIT 1]\r\nSQL[SELECT * FROM devices WHERE (devices.device_id = '1024') && (devices.hostname REGEXP \"rack\"  &&  devices.status = \"0\"  &&  devices.status_reason = \"icmp\"     )]  NOCHG  #5:\r\nSQL[SELECT state FROM alerts WHERE rule_id = '5' && device_id = '1024' ORDER BY id DESC LIMIT 1]\r\nSQL[SELECT * FROM devices WHERE (devices.device_id = '1024') && (devices.hostname REGEXP \"wnd-idf\"    &&  devices.status = \"0\"        &&  devices.status_reason = \"icmp\"           )]  NOCHG  #6:\r\nSQL[SELECT state FROM alerts WHERE rule_id = '6' && device_id = '1024' ORDER BY id DESC LIMIT 1]\r\nSQL[SELECT * FROM devices WHERE (devices.device_id = '1024') && (devices.hostname REGEXP \"core\"        &&  devices.hostname NOT REGEXP \"dbctcore\"    &&  devices.status = \"0\"    &&  devices.status_reason = \"icmp\"   )]  NOCHG  #8:\r\nSQL[SELECT state FROM alerts WHERE rule_id = '8' && device_id = '1024' ORDER BY id DESC LIMIT 1]\r\nSQL[SELECT * FROM processors,devices WHERE (processors.device_id = devices.device_id && processors.device_id = '1024') && (processors.processor_usage > \"90\"    &&  devices.hardware REGEXP \"cisco\"   )]  NOCHG  #9:\r\nSQL[SELECT state FROM alerts WHERE rule_id = '9' && device_id = '1024' ORDER BY id DESC LIMIT 1]\r\nSQL[SELECT * FROM devices,mempools WHERE (devices.device_id = mempools.device_id && devices.device_id = '1024') && (devices.hardware REGEXP \"cisco\"    &&  mempools.mempool_perc > \"98\"    &&  devices.hostname NOT REGEXP \"gre\"    &&  devices.hostname NOT REGEXP \"mpls\"   )]  NOCHG\r\n\r\nSQL[INSERT INTO `perf_times` (`type`,`doing`,`start`,`duration`,`devices`,`poller`)  VALUES ('poll','my-netscaler-a','1447185995.4408','3.513','1','librepoller-a\\n')] ./poller.php my-netscaler-a 2015-11-10 15:06:39 - 1 devices polled in 3.513 secs\r\n\r\nMySQL: Cell[3/0.62s] Row[6/0.29s] Rows[6/0.26s] Column[0/0s] Update[1/0.05s] Insert[2/0.25s] Delete[0/0s]\r\nOK u:0.00 s:0.00 r:0.99\r\nOK u:0.00 s:0.00 r:1.04\r\nlibrenms@librepoller-a:~$\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/librenms/librenms/issues/comments/165644345","html_url":"https://github.com/librenms/librenms/issues/2413#issuecomment-165644345","issue_url":"https://api.github.com/repos/librenms/librenms/issues/2413","id":165644345,"user":{"login":"masonke","id":1863778,"avatar_url":"https://avatars.githubusercontent.com/u/1863778?v=3","gravatar_id":"","url":"https://api.github.com/users/masonke","html_url":"https://github.com/masonke","followers_url":"https://api.github.com/users/masonke/followers","following_url":"https://api.github.com/users/masonke/following{/other_user}","gists_url":"https://api.github.com/users/masonke/gists{/gist_id}","starred_url":"https://api.github.com/users/masonke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masonke/subscriptions","organizations_url":"https://api.github.com/users/masonke/orgs","repos_url":"https://api.github.com/users/masonke/repos","events_url":"https://api.github.com/users/masonke/events{/privacy}","received_events_url":"https://api.github.com/users/masonke/received_events","type":"User","site_admin":false},"created_at":"2015-12-18T02:07:29Z","updated_at":"2015-12-18T02:07:29Z","body":"The problem is this netscaler is using partitions. On using without partitions, things work normally. "}}