Subject: |
RE: Use API to poll device / change device config |
Author: |
krishna reddy |
Posted: |
2017-06-26 22:32 |
Hi Mike,
you can use developers tool in chrome or firefox to determine which call zenoss is making to server. Once you get snmp version from api by polling config properties on devices you can basically include snmpwalk commands in your wrapper(if else).
1) if snmpwalk is succesfull depending on above output (zenoss can connect to device) else snmpwalk is failing zenoss can't connect to device(above output)
2) if you want to change snmp configs in zenoss you should do api call to change device configs(please look api call in developer tools)
3) rerun your above snmpwalk commands to check status
Try this
------------------------------
krishna
verinon
------------------------------
Subject: |
RE: Use API to poll device / change device config |
Author: |
krishna reddy |
Posted: |
2017-06-26 22:41 |
Mike,
forgot to say that snmpwalk may take very long time for each device depending on device. Better way on determining zenoss connectivity to devices is to see if device has any event saying snmp agent is disabled or device can't reach. you can get this from event details from api call you make to device.(parse for event details)
------------------------------
krishna reddy
verinon
------------------------------