[racktables-users] Re: snmp sync fail to get any information

  • From: Denis Ovsienko <infrastation@xxxxxxxxx>
  • To: "racktables-users@xxxxxxxxxxxxx" <racktables-users@xxxxxxxxxxxxx>
  • Date: Thu, 01 Mar 2012 17:48:48 +0400

01.03.2012, 13:17, "Nikolay Shopik" <shopik@xxxxxxxxxx>:
> Denis,
>
> I found root issue of my problem. Problem was with no MIB
> loaded/installed, as php error is - "Warning: snmp2_get()
> [function.snmp2-get]: Invalid object identifier: sysObjectID.0".
>
> So my next question is it MIB really necessary here, well except code
> writen for using textual OID instead numerical. Does user interface
> actually using it anywhere?

The only reason was to keep the code readable. sysObjectID is a very basic OID, 
it has been in this code for more, than 4 years yet. Are you sure the PHP SNMP 
module comes with all the dependencies it is supposed to have on this system?

-- 
    Denis Ovsienko

Other related posts: