Page 2 of 2

Re: Alerts via Linux

Posted: Thu Jan 16, 2014 10:48 am
by tmcdonald
Kimba7070 wrote:Please identify process which send alert from client to server
Do we store any alerts on the client site
Can you please provide answers to slansing's questions?

Re: Alerts via Linux

Posted: Thu Jan 16, 2014 1:06 pm
by Kimba7070
Is this actually the nagiosxi server that you are ssh'd into? The nagios xi server will have a nagios.log file in /usr/local/nagios/var/, this log file is required for quite a few things in nagios. If you are missing this log, something must not be functioning correctly. Can you navigate to the reports page in the Nagios XI web frontend and try to pull down report information? Can you get valid data?




No it not a nagios server this is nagios client.
We do have valid data.
we are looking for client service (name of service or daemon) that sent that information to server and any corresponding log on client site just to verify that all necessary information has been send correctly

Re: Alerts via Linux

Posted: Thu Jan 16, 2014 1:39 pm
by slansing
Well, if you are receiving valid, consistent service check data in the Nagios interface then that should be a good indicator that you are receiving the check output correctly. I guess I'm not sure why you are looking around on the remote host you are monitoring, nagios is not going to leave information there.

Re: Alerts via Linux

Posted: Thu Jan 16, 2014 1:52 pm
by Kimba7070
which nagios client service on Linux sends alerts

Re: Alerts via Linux

Posted: Thu Jan 16, 2014 1:57 pm
by sreinhardt
the remote host does not send alerts, it sends check results to the main nagios xi system via any number of daemons(NRPE, NSCA, NRDP, NCPA) and the XI system then sends a mail alert for you. There generally is a log on the remote system of what it checked, and possibly what the result was, but we need to know what agent you are running first.

Re: Alerts via Linux

Posted: Thu Jan 16, 2014 2:00 pm
by tmcdonald
Nagios has two types of checks: Active and Passive.

Active checks are initiated by the Nagios server, and passive checks are initiated by the remote host and sent back to Nagios.

If you are using passive checks, then something like NCPA or NRDS will be the service that sends data to Nagios.

As for alerts, they are sent out by whatever service you have managing your email (postfix or sendmail).

I'm not sure what you mean exactly by your question, but hopefully this will provide some sort of useful info.