In this HowTo, I will show you how you can get statistics off of the Netscaler without using SNMP. You might be asking why would I want to do that?? Well like many other devices that support SNMP, the Netscaler makes use of dynamic OID creation. For those of you that do not understand what I mean. Dynamic OID creation, is the way that Networking devices give OID’s to variables that are not static in the device itself.
Here are some common static variables/OID’s, amongst most devices out there.
- CPU Utilization
- Disk Utilization
- Memory Utilization
- TCP Statistics
Here are some common, non-static variables/OID’s..
- A Load Balanced Virtual Server
- Statistics about LUNS
- Statistics about Services
Now you can get these statistics off of the SNMP based device. But if and when this device is rebooted, more then likely the OID has changed. Now you are stuck with the task, of finding the new OID. Since the Netscalers have a SOAP Based API, we can get those same statistics with out ever needing to know the OID.
Here I have attached a script that I wrote, using Python and Suds to connect to the Netscaler. This script works perfectly with Zenoss and its DataPoint structure. Download
Continue reading “HowTo monitor the Netscaler using Python and Soap instead of SNMP” »