F
F
facha2012-01-17 15:18:41
PHP
facha, 2012-01-17 15:18:41

Is snmp GETBULK request possible from PHP

Hello.

Is there a function in the PHP library that allows you to perform SNMP GETBULK requests. I didn't find anything in Google :-(

So far I'm doing this:
$result = shell_exec("snmpbulkwalk -v2c -cpublic 172.16.0.1 enterprises.1111.1.1.1.1.1.1.1");

On my requests, it runs about 10 times faster than the php snmpwalk function.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
rustler2000, 2012-01-19
@rustler2000

If I understand correctly what you are trying to do (select a “table” as quickly as possible), then most likely www.php.net/manual/ru/function.snmp2-real-walk.php will help.
Or php.net/manual/ru/snmp.walk.php , but it's not quite straight forward (as I understand it, you can't request several "columns" correctly there).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question