Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
Hope you will help me to understand and debug my issue.
Any thoughts or comments would be appreciated.
When the script is triggered automatically by Cacti, the output result returned is U (unknown value), whereas when I manually execute the same script with the same arguments & parameters, it returns a normal value.
1) I forgot to say that the same script is working on a different ASR model.
Then it seems the poller user perms are right.
2) I tried to increase the "Remote Agent Timeout" value from 5 to 15 seconds, but the issue remains.
Could you please help me troubleshoot the timeout ?
Remote Agent does not work with the poller. Increase the devices timeout and/reduce the MAX OID's for other stuff. Maybe the device is real busy. Increasing timeout "should" help this, but I'm not sure what is going on in that script.
True understanding begins only when we realize how little we truly understand...
The device was already with 5000ms SNMP GET timeout and 1 max OID per GET request.
I increased both of the "Number of PHP Script Servers" and "Script and Script Server Timeout Value" values in global settings.
I also increased "Data Collector Defaults" and "Data Collector Processes".
It seems to did the job.
Many thanks for pointing me in the right direction.
Last question, how can I correctly tune these settings ? Do you have any guide/doc about Data Collector settings ?
It's really trial and error based upon the errors/warnings responses you get. Also need to know how timeouts work in the script. Some scripts completely ignore cacti settings, the good ones don't..
True understanding begins only when we realize how little we truly understand...
You'll find the script attached.
It's a modified version of the DOM netniV Script (https://github.com/netniV/cisco-sfp) designed to work for IOS XR > 7.x
Yikes, @netniV should really rewrite that script. It ignores the Cacti timeout and retry values. It looks maybe a bit chatty too. Not something I can fix and test though since I don't do networking any longer.
True understanding begins only when we realize how little we truly understand...