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

Robert Hajime Lanning lanning at lanning.cc
Sat Apr 30 22:49:03 CEST 2005


<quote who="Colin White">
> [1] It seems that when I run nsca under inetd, I get "1 data packet(s)
> sent to host successfully." but nothing gets written to nagios.cmd -
> wierd indeed (perms are as my original post). I have also tried to run
> nsca from inetd as root but with the same result.  Unfortunately nsca
> debug=1 doesn't work when running --inetd. My inetd.conf has an entry
> like this -
> ----
> nsca    stream  tcp     nowait  nagios  /usr/local/nagios/bin/nsca -c
> /usr/local/nagios/etc/nsca.cfg --inetd
> ----

Try this:
----
nsca  stream  tcp  nowait  nagios  /usr/local/nagios/bin/nsca nsca -c
  /usr/local/nagios/etc/nsca.cfg --inetd
----

service socket_type protocol wait/nowait user bin arg0 arg1 arg2 ...

arg0 is to be the name of the binary. (yes you are to repeat it.)

-- 
END OF LINE
       -MCP



-------------------------------------------------------
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=20
_______________________________________________
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