Hello,

My advance apology if this is the wrong place for posting my question.

I am trying to get flexlm license out put via snmpd. As different
license file will have different feature name I do not want to hard code
any thing. 

This is my entry in snmpd.conf file; only using one of this at a given
time.

#pass .1.3.6.1.4.1.9999.1 /usr/bin/lmstat.pl
exec  .1.3.6.1.4.1.9999.1 FLEXLM /usr/bin/lmstat.pl

When I use exec 

/usr/local/net-snmp/bin/snmpwalk -v 1 -c public ptxslicsrv01
.1.3.6.1.4.1.9999

It OK but I get out put like this 
SNMPv2-SMI::enterprises.9999.1.1.1 = INTEGER: 1
SNMPv2-SMI::enterprises.9999.1.2.1 = STRING: "FLEXLM"
SNMPv2-SMI::enterprises.9999.1.3.1 = STRING: "/usr/bin/lmstat.pl"
SNMPv2-SMI::enterprises.9999.1.100.1 = INTEGER: 0
SNMPv2-SMI::enterprises.9999.1.101.1 = STRING:
".1.3.6.1.4.1.9999.1.101.1"
SNMPv2-SMI::enterprises.9999.1.101.2 = STRING: "string"
SNMPv2-SMI::enterprises.9999.1.101.3 = STRING: "QAC_runtime"
SNMPv2-SMI::enterprises.9999.1.101.4 = STRING:
".1.3.6.1.4.1.9999.1.101.2"
SNMPv2-SMI::enterprises.9999.1.101.5 = STRING: "string"
SNMPv2-SMI::enterprises.9999.1.101.6 = STRING: "QAD_Planning"
.................. 

Like the way I get running the perl script form command line.

But with pass I get error

([EMAIL PROTECTED]:120) /usr/local/net-snmp/bin/snmpwalk -v 1 -c public
ptxslicsrv01 .1.3.6.1.4.1.9999
SNMPv2-SMI::enterprises.9999.1.101.1 = STRING: "QAC_runtime"
SNMPv2-SMI::enterprises.9999.1.101.1 = STRING: "QAC_runtime"
Error: OID not increasing: SNMPv2-SMI::enterprises.9999.1.101.1
 >= SNMPv2-SMI::enterprises.9999.1.101.1

Please help.

Thanks in advance
Santanu Misra


-----------------------------------------------------------------
        Visit our Internet site at http://www.reuters.com

To find out more about Reuters Products and Services visit 
http://www.reuters.com/productinfo 

Any views expressed in this message are those of  the  individual
sender,  except  where  the sender specifically states them to be
the views of Reuters Ltd.



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to