s: Bad variable type ("9")

"andrewarnier" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi all,

I am attempting to send an OID .1.3.6.1.4.1.9.9.41.2.0.1 snmptrap to a
server.  I have tried serveral times with slightly different syntax  and
received some errors.

 

snmptrap -v 1 -c public 10.10.12.218 .1.3.6.1.4.1.9.9.41.2 10.10.12.219 6 1
15\

.1.3.6.1.4.1.9.9.41.2.0.1 s "90"\

.1.3.6.1.4.1.9.9.41.2.0.2 s " value 1"\

.1.3.6.1.4.1.9.9.41.2.0.3 s "value2" \

.1.3.6.1.4.1.9.9.41.2.0.4 s "value3" \

.1.3.6.1.4.1.9.9.41.2.0.5 s "power"

 

 

But I got the error  "s: Bad variable type ("9")"

 

What am I doing wrong?

 

 

Thanks,

Andrew

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk

_______________________________________________
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.