Jump to content

snmp functions


knowram

Recommended Posts

This is my first attempt to get data using these functions.

 

Here is my code:

 

$a = snmpget("192.168.85.2", "associa#1", "1.3.6.1.4.1.9.3.6.11.1.3");

echo $a;

 

and here are the errors that I am getting

 

Warning: snmpget() [function.snmpget]: Error in packet: (noSuchName) There is no such variable name in this MIB. in C:\Program Files\Ipswitch\Associainfo\test\Adding.php on line 494

Warning: snmpget() [function.snmpget]: This name does not exist: .iso.3.6.1.2.1.1.3.6.1.4.1.9.3.6.7 in C:\Program Files\Ipswitch\Associainfo\test\Adding.php on line 494

 

This is a cisco mib that I am trying to use. And I have added it to the php/mib folder. Is there anything else I have to do?

 

Thanks for the help.

Link to comment
https://forums.phpfreaks.com/topic/54337-snmp-functions/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.