Re: QUestion

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 06/12/06, schelcher alain <[email protected]> wrote:
> Im trying with this command line but the trap retrun an error
>      "Test missing type or value identifier"

That's because you've got an incomplete OID/Type/Value triplet at the
end of your command:

> snmptrap.exe  .... MUSE043 uptime trapoid Test

$ snmptrap
No hostname specified.
USAGE: snmptrap [OPTIONS] AGENT TRAP-PARAMETERS

  -v 2 TRAP-PARAMETERS:
         uptime trapoid [OID TYPE VALUE] ...


You've specified "Test", while the command is expecting "OID TYPE VALUE"

Try omitting this altogether (to send a trap with no extra varbinds), or supply
the full OID/Type/Value triplet for your "Test" varbind.

Dave

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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.