Nagios 2.0 (nsca-2.4) upgrade difficulties on Solaris 9

Marc Powell marc at ena.com
Fri Apr 29 20:32:56 CEST 2005



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Colin White
> Sent: Friday, April 29, 2005 1:03 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Nagios 2.0 (nsca-2.4) upgrade difficulties on
> Solaris 9
> 
> 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

Is NSCA running either as root or nagios or in group nagioscmd? If you
don't see PROCESS_SERVICE_CHECK_RESULT entries when 'tailing'
nagios.cmd, chances are high that it's a permissions issue specifically
related to NSCA. Also verify that your command_file is properly
specified in nsca.cfg. Running NSCA in debug mode might be informative
as well.

--
Marc


-------------------------------------------------------
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