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.
eternal wrote:Tried up to 5 seconds still same results.
have you tired to run snmpget manualy from console?
also, you can do it with time command
#time snmpget -v 2c -c public ....
to see how long the query takes to receive data.
IF-MIB::ifInOctets.2 = Counter32: 2886449833
real 0m0.076s
user 0m0.061s
sys 0m0.014s
sorry, maybe I wasn't specific enough, but you can't determine max snmp-timeout with single snmpget. SNMP query processing time depends on remote device load, network load and local machine load. If local machine runs cacti - it's peak loads accur every 5 minutes. So you must monitor query response times during all that 5-minute interval.
use the following script I've made on the fly(don't forget to change snmp_query row inside) - it will output some results - you should be interested in max_query_time. For results to be accurate - use it on fully-productional machine.
in zond/setup.php @ 250 remove the slash in front of .'plugins/zond/images/chart.png"
Cacti1 OS: CentOS 5.6 | 300+ devices
Cacti2 OS: CentOS 5.6 | 300+ devices
King of the Elves
Local Anarchists Union #427
"Anarchism is founded on the observation that since few men are wise enough to rule themselves, even fewer are wise enough to rule others." -Edward Abbey
eternal wrote:the time script gets ver 2
snmp.php polls at ver 1
Im getting the same results even on a test juniper router with no load.
how to force snmp.php into ver 2?
Are you sure snmp.php queries are snmp v1 (only if php4)?
scripts determines automaticaly which version to use in the following order:
1. php5 - prefers snmp v2 (only if snmp2_get function is somehow disabled - uses snmp v1)
2. php4 - snmp v1 (only v1 is supported)
3. no php-snmp - native snmpget (v2)
well...what can I say - I have no possibility to run zond plug-in on php4, so
if you want to go further - comment lines (bu adding // in the beginning) 26-34 and 38 - now you will use native snmp2 get. It will perform much slower(approx 5 to 10 times), but maybe it will help in your case.
It would be awesome if there were a way to capture the output for future reference.
Cacti1 OS: CentOS 5.6 | 300+ devices
Cacti2 OS: CentOS 5.6 | 300+ devices
King of the Elves
Local Anarchists Union #427
"Anarchism is founded on the observation that since few men are wise enough to rule themselves, even fewer are wise enough to rule others." -Edward Abbey
It would be awesome if there were a way to capture the output for future reference.
damn...looks like i will have to run ssl test environment on my own....
actualy you can allready see some output by enabling "VALUES ON CHART" setting. what else....I could implement aditional setting which would force java applet to output values to java console. other ways are hardly possible.
i got something new about the parsing issue.
this graph is based on a perfmon data get.
other graph, even simple and linked to an host, give me the same error.
X505 wrote:i got something new about the parsing issue.
this graph is based on a perfmon data get.
other graph, even simple and linked to an host, give me the same error.
well, there was some discussion before about this error.
first you must check if all graph template items (lines,plots,stacks) have colors assigned.
This is a great plugin, I don't know how I missed it when it was first announced, but I installed it yesterday and it worked flawlessly. Thanks to the Author for developing it.
Second:
One request: Would it be possible to code it in such a way that it could work as a hoverover graph from Weathermap? I tried just putting the URL of the pop-up graph in the hoverover box for a link in Weathermap, but it appears it doesn't know how to execute the java side of it when you do that.