Re: pass config direvtive does not work

"Mindaugas" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
>> > What does
>> >        snmpwalk .... nsModuleName   |   grep   1.3.6.1.2.1.2.2
>> > show?
>>
>> # snmpwalk -v 1 -c secret localhost nsModuleName | fgrep 1.3.6.1.2.1.2.2
>> nsModuleName."".10.1.3.6.1.2.1.2.2.1.1.127 = STRING: mibII/interfaces
>> nsModuleName."".10.1.3.6.1.2.1.2.2.1.2.127 = STRING: mibII/interfaces
>    <snip>
>
> So the agent hasn't taken the pass-based registrations for these OIDs,
> probably because there exactly duplicate the mibII versions.
>
> Try starting the agent with the option "-I-interfaces" to turn off this 
> module,
> and run the same command.  Does it report the same name, or  "pass"?

  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? Not a problem though. 
:)

  And one more little question. How then to substitute my script for
system.sysUpTime (.1.3.6.1.2.1.1.3)?

  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.