nagios and snmptt
Rusty Hall
rhall at healthvision.com
Tue Dec 13 17:59:25 CET 2005
I have nagios 1.2 up and running (and has been for awhile) on a
fedora core2 server. I recently added the snmptt for snmp traps.
The snmptt appears to be running correctly accordng to the logs
being generated. The trap also apperas in the nagios.log file.
The question and or questions i have is I never get an alert an
the passive check aalways says pending. enclosed are the service
check and an entry from the logs
passive check
define service{
use generic-service ; Name of service template to use
host_name device_name
service_description TRAP
is_volatile 1
check_command check-host-alive
check_period 24x7
max_check_attempts 1
normal_check_interval 1
retry_check_interval 1
passive_checks_enabled 1
check_period none
notification_interval 31536000 # equals a year
notification_period 24x7
notification_options w,u,c,r
notifications_enabled 1
contact_groups linux-admins
}
snmptt log entry
Wed Dec 7 21:10:41 2005 .iso.org.dod.internet.snmpV2.snmpModules.snmpMIB.
snmpMIBObjects.snmpTraps.coldStart Normal "Status Events" system_name
- A coldStart trap signifies that the SNMP entity,
Wed Dec 7 15:38:00 2005 .iso.org.dod.internet.private.enterprises.3224.0.
500 Normal "Status Events" system_ip - This trap indicates that
VPN tunnel status has occured. 41 2005-12-07 15:38:00 system-critical-00
041: vpn "St John Tunnel" is down.
entry from nagios.log
[1133792753] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;system_name;T
RAP;0;Device reinitialized (coldStart)
[1133792757] Warning: Message queue contained results for service
'TRAP' on host 'system_name'. The service could not be found!
The pieces to make this work seem to be in place but im just missing
something. If im amissing any thing please let me know
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list