Yes, you are right, -Cr2 is extremely slow. What I meant here is, I am not able to get the time down to less than ~50sec, when playing with different -Cr values, betting it -Cr20 (default), -Cr60 or -Cr100.No -Cr60 - ifEntry :-real 1m0.221sNo -Cr60 - ifXEntry :-real 0m49.692s-Cr2 - ifEntry :-real 4m27.568s-Cr2 - ifXEntry :-real 4m10.640sIs it possible to tell the script not to poll the unwanted data?Thanks._______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observiumI find that very hard to believe.
-Cr2 would be unbearably slow, since the default is 20.
adam.
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observiumI have tried it with all different values, no -Cr60, -Cr2, -Cr100, and even more. There is absolutely no difference._______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observiumtry same commands without '-Cr60' optionand second one with snmpwalk (instead snmpbulkwalk).
--Mike Stupalov
http://observium.org/_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observiumHi,We have heavily loaded Brocade MLXe routers, and polling time is very high for these devices. The same is seen for few Arista switches (at longer distances) as well.This certainly is related to IF-MIB, trying to poll lots of data statistics for all interfaces, resulting in ports.inc.php module run time of ~150sec+. Ideally, we want to reduce this polling time to <60sec.time /usr/bin/snmpbulkwalk -Cr60 -v2c -c 'jtv' -OQUs -m IF-MIB -M /home/jtv/observium//mibs/rfc:/home/jtv/observium//mibs/net-snmp 'udp':'br02.lhr02':'161' ifEntryreal 0m57.616suser 0m0.044ssys 0m0.012stime /usr/bin/snmpbulkwalk -Cr60 -v2c -c 'jtv' -OQUs -m IF-MIB -M /home/jtv/observium//mibs/rfc:/home/jtv/observium//mibs/net-snmp 'udp':'br02.lhr02':'161' ifXEntryreal 0m52.763suser 0m0.032ssys 0m0.024sWe do not care about some of the interface statistics, for example, mtu, speed, duplex, promiscuous mode, trunk, vlan, etc. We only want interface traffic in/out and error statistics.Is there a way to selectively modify any discovery/polling/MIB files, and only keep the statistics we are interested in?Thanks,Jaynee_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium