>> No. Now it "pass" and my script returns the output!!! Now I can >> configure >> something or I'll have to run snmpd with this option? > > a) You can run "configure --with-out-mib-modules=mibII/interfaces" > and recompile. But before doing that:
No. I'd rather run snmpd with -I-interfaces option. > b) Try using "pass -p 63 ....." in the snmpd.conf file, and restart the > agent > *without* the -I-interfaces option. Does that work? No: Nov 9 17:13:47 server snmpd[409]: /etc/snmp/snmpd.conf: line 462: Error: second token is not a OID My version is 5.1.2 as you remember. A bit old it seems. >> And one more little question. How then to substitute my script for >> system.sysUpTime (.1.3.6.1.2.1.1.3)? > > If b) works, then the same approach should server for sysUpTime as well. > Otherwise you may need to exclude "mibII/system_mib" as well. -I-mibII/system_mib ? But that does not seems to work. > If you're re-implementing sysUpTime, be sure to return the correct value. > This is *not* the uptime of the whole system - just that of the SNMP > agent. This time I need to return uptime of the whole system. Hack but I need it. Mindaugas ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users