snmptrap and snmpd.conf question
"Zaryab Munir (zmunir)" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <96327EF53EF71A48806DE2DFC034D57F06B1785C@xmb-sjc-22b.amer.cisco.com> |
Hi, I am using snmptrap command to send traps. I want the command to use the version and community string from snmpd.conf file and not from the arguments passed as command line. How does it work? I modified snmpd.conf file with values for trap sink, trap community etc. Then I copied the file at /etc/snmp/ on a linux system' But if I use the snmptrap command without -v and -c arguments, I get the error: bash-3.00# ./snmptrap -m "" "" 0 0 "" No community name specified. USAGE: snmptrap [OPTIONS] AGENT TRAP-PARAMETERS Regards, Zaryab. Regards, Zaryab. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ 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
Blank Bkgrd.gif
(image/gif, 145 B) - not displayed