Re: pass config direvtive does not work

"Mindaugas" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
>> >>                     How then to substitute my script for
>> >> system.sysUpTime (.1.3.6.1.2.1.1.3)?
>> >
>> > Otherwise you may need to exclude "mibII/system_mib" as well.
>>
>>   -I-mibII/system_mib ?
>
> No.
>    configure  --with-out-mib-modules=mibII/system_mib
> or
>    snmpd -I-system_mib

  Thanks. It works now.

>> > 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.
>
> Why not use hrSystemUptime?   Since that's exactly what it's there for!

  Because I'm pretending to be Cisco switch or router :). And our stats 
collecting
software is querying this OID for the uptime.

  And thank You a lot for your help. It was one of the best response/help I 
got in
quite a long time!
  Thanks once more.

  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
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.