I'm probably missing something really obvious, but how do you get Observium
to use bulkwalk instead of walk? Currently using revision 4586.
Trying to get poller times down, running:
poller.php -h 51 -d
to debug, and it sticks on this command:
/usr/bin/snmpwalk -v2c -c 'COMMNAME' -OQUs -m IF-MIB -M /opt/observium/mibs
'udp':'x.x.x.x':'161' ifXEntry
Which makes sense, as there's an awful lot of interfaces on that particular
device.
Running that command manually, using time, gives me:
real 2m35.743s
user 0m0.326s
sys 0m0.168s
Replacing /usr/bin/snmpwalk with /usr/bin/snmpbulkwalk and running again
gives me:
real 0m14.914s
user 0m0.080s
sys 0m0.038s
I'd much rather have this take 15 seconds than 110. I could have sworn I
saw something somewhere about setting some different snmpwalk flags, but I
can't find anything in the docs, the faqs, the archives, the googles. But
it's Friday, so, again, I'm probably missing something obvious.
Thanks.