Nagios 2.0 (nsca-2.4) upgrade difficulties on Solaris 9
Colin White
whiteca at gmail.com
Fri Apr 29 20:02:54 CEST 2005
Hi Folks,
I've recently upgraded to nagios-2.0b3 (from 1.1 where things were
working fine) after a host and ISP change (too many things at once,
I'm told..)
As expected, things have got a bit lumpy along the way...
I'm running on Solaris 9 (Sparc) and still using the
nagios-plugins-1.3.1 as 1.4 wouldn't make properly for me.
I'm using nsca-2.4 and my remote hosts are submitting their passive
checks nicely and I get "1 data packet(s) sent to host successfully".
Nsca is running in my inetd.conf as instructed in the INSTALL file
(nsca-2.4.tar.gz). Netstat and snooping the iface show passive check
connecting to my host as I'd expect on default 5667. The nsca config
files (password & port) match at both ends.
Nagios is running fine and passed the preflight check (-v). I've read
the Manual and FAQ and list archive (GMANE).
However, passive checks don't seem to be getting written to my
nagios.cmd file and won't show in the service status. I can tail -f
this file and see cgi commands being written to it ok, but not passive
checks.
My file perms look like this -
drwxrwsr-x 2 nagios nagioscmd 512 Apr 29 17:44 .
drwxrwxr-x 4 nagios nagios 512 Apr 29 18:46 ..
prw-rw---- 1 nagios nagioscmd 0 Apr 29 17:44 nagios.cmd
My Apachessl belongs to nagioscmd.
My host definitions looks like this -
define host{
use generic-host
host_name C-Flat20
alias Craw House Flat 20
parents myhost.domain.com
address 127.0.0.1
check_command check-host-alive
max_check_attempts 1
notification_interval 15
notification_period 24x7
notification_options d,u,r
contact_groups admins
}
I have a service definition looking like this -
define service{
host_name C-Flat20
service_description TRAP
active_checks_enabled 0
passive_checks_enabled 1
check_freshness 0
freshness_threshold 600
check_command check_orbitron
is_volatile 0
check_period 24x7
max_check_attempts 1
normal_check_interval 1
retry_check_interval 1
notifications_enabled 1
notification_interval 0
notification_period 24x7
notification_options w,u,c,r
contact_groups admins
}
My nagios.cfg contains -
accept_passive_service_checks=1
Can anyone suggest why my passive checks aren't being processed?
Help, comments or pointers much appreciated.
Thanks
Colin
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r
_______________________________________________
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