Thanks, I’ll do that.

 

From: observium [mailto:observium-bounces@observium.org] On Behalf Of chip
Sent: Friday, November 22, 2013 7:43 PM
To: Observium Network Observation System
Subject: Re: [Observium] How to enable bulkwalk?

 

Observium uses bulk walk for some things, you might take a look at the max-reps value.  Change it on a per-device basis perhaps.  Troll through the /observium/includes/defaults.inc.php file to see some things you might want to pepper into your config.php.

 

--chip

 

On Fri, Nov 22, 2013 at 3:05 PM, Shayne Lebrun <slebrun@corebroadband.ca> wrote:

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.

 


_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium



 

--
Just my $.02, your mileage may vary,  batteries not included, etc....