Nagios -NSCA

Harper Mann hmann at itgroundwork.com
Tue Sep 28 05:09:17 CEST 2004


NSCA opens the Nagios command pipe, usually
/usr/local/nagios/var/rw/nagios.cmd, which is closed and remade with each
nagios restart.  The NSCA process must be stopped and restarted when nagios
dies to open the new pipe.

Another option is to set up NSCA under xinet so it's started with each send
request and the nagios.cmd command pipe is opened each time.  The downside
is the process startup cost each time a check result is sent.  However, this
usually works pretty well.

Regards,

- Harper

Harper Mann
Groundwork Open Source Solutions
510-599-2075 (cell)


-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Sumit
Malhotra
Sent: Monday, September 27, 2004 3:50 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Nagios -NSCA

Hi all, 


I am using nagios-nsca-2.4  with nagios 2a

The problems is that nagios  dies  after some time  ( I don't know why 
?) no errors .. just..
It says .

1096321093] Caught SIGSEGV, shutting down..
 

Nagios Goes down and nsca processes getting stuck up.. 

Sep 27 16:43:52 monitoring nsca[12880]: SERVICE CHECK -> Host Name: 
'kirk2', Service Description: 'Check load', Return Code: '0', Output: 
'OK - load average: 1.01, 0.49, 0.18'
Sep 27 16:43:53 monitoring nsca[12882]: Handling the connection...

and nothing else ..

This results in a endless number of processes making the monitoring 
server ( HANG)

----nsca.cfg---------------
server_port=5667
allowed_hosts=XX.YY.ZZ.00
nsca_user=nagios
nsca_group=nagios
debug=1
command_file=/var/spool/nagios/nagios.cmd
alternate_dump_file=/var/spool/nagios/nsca.dump
aggregate_writes=0
append_to_file=0
max_packet_age=30
password=xxxxxx
decryption_method=1
--------------------------------------------------

But as per the configuration, it should have dumped the data to 
alternate dumped file but that doesn't work any clues ??

Regards,
Sumit



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
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




-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
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