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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.