![](https://secure.gravatar.com/avatar/13fce94b1460f1e1ae7c06b55f18b259.jpg?s=120&d=mm&r=g)
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.
![](https://secure.gravatar.com/avatar/25870236ed95bd801c64df8864069f65.jpg?s=120&d=mm&r=g)
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.cawrote:
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
![](https://secure.gravatar.com/avatar/13fce94b1460f1e1ae7c06b55f18b259.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/0fa97865a0e1ab36152b6b2299eedb49.jpg?s=120&d=mm&r=g)
I would recommend against messing with those values.
If your device has been tested and supports bulkwalk, it will be used. If it has some issues with it, it'll be disabled.
adam.
On 2013-11-23 16:51, Shayne Lebrun wrote:
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 [1]
-- Just my $.02, your mileage may vary, batteries not included, etc....
Links:
[1] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/13fce94b1460f1e1ae7c06b55f18b259.jpg?s=120&d=mm&r=g)
Ok, so as an update, and against all advice, I've forced bulkwalk on by editing includes/definitions/os.inc.php thusly: $config['os']['routeros']['nobulk'] = 0; $config['snmp']['max-rep'] = TRUE;
And things are working great, so far. So my question would be, what version of RouterOS was last tested with bulkwalk? Their SNMP stack has improved quite well in the last while.
-----Original Message----- From: observium [mailto:observium-bounces@observium.org] On Behalf Of Adam Armstrong Sent: Saturday, November 23, 2013 3:10 PM To: Observium Network Observation System Subject: Re: [Observium] How to enable bulkwalk?
I would recommend against messing with those values.
If your device has been tested and supports bulkwalk, it will be used. If it has some issues with it, it'll be disabled.
adam.
On 2013-11-23 16:51, Shayne Lebrun wrote:
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 [1]
-- Just my $.02, your mileage may vary, batteries not included, etc....
Links:
[1] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (3)
-
Adam Armstrong
-
chip
-
Shayne Lebrun