Alerts via Linux

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Alerts via Linux

Post 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?
Former Nagios employee
Kimba7070
Posts: 34
Joined: Sat Oct 12, 2013 1:20 pm

Re: Alerts via Linux

Post 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
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Alerts via Linux

Post 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.
Kimba7070
Posts: 34
Joined: Sat Oct 12, 2013 1:20 pm

Re: Alerts via Linux

Post by Kimba7070 »

which nagios client service on Linux sends alerts
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Alerts via Linux

Post 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.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Alerts via Linux

Post 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.
Former Nagios employee
Locked