Thread: Trapsnmp nagios
View Single Post
  #2 (permalink)  
Old 22-Jun-2009, 08:52
malcolmlewis's Avatar
malcolmlewis malcolmlewis is online now
Global Moderator
 
Join Date: Jun 2008
Location: Podunk
Posts: 4,701
malcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputation
Default Re: Trapsnmp nagios

Quote:
Originally Posted by ophicius
hello,

i would like to do any trapsnmp with nagios on opensuse, but i've a
problem with the configuration.

i'm reading tutorial about trapsnmp and they tell me to configure the
snmptrapd.conf file on /etc/init.d/snmptrapd.conf and put that in
"OPTIONS="-On -Lsd -p /var/run/snmptrapd.pid", but i don't have this
file on my suse. i just have snmpd.conf

must i used snmpd.conf ? if yes could you tell me how i must include
this line "OPTIONS="-On -Lsd -p /var/run/snmptrapd.pid""

SNMPD.conf
<snip>
Hi
Don't think multimedia was the correct place to post this

You need to create the snmptrap.conf file see the man page;

man snmptrapd.conf

"The Net-SNMP notification receiver (trap daemon) uses one or
more configuration files to control its operation and how incoming
traps (and INFORM requests) should be processed. This file
(snmptrapd.conf) can be located in one of several locations, as
described in the snmp_config(5) manual page."

--
Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.23-0.1-default
up 11:58, 2 users, load average: 0.07, 0.19, 0.15
GPU GeForce 8600 GTS Silent - Driver Version: 185.18.14

Reply With Quote