customize alert

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
bayupermadi
Posts: 1
Joined: Tue Feb 24, 2015 11:14 pm

customize alert

Post by bayupermadi »

Hi There,

I've used nagios for about 1 year and its help me much in monitoring my services, databases, and web application. Now I've got question from my colleague, can nagios send alert through syslog?

As far as I know the alert sent by email using SMTP and sms. Since he using another monitoring tool and he need collect also the data from nagios, is there any plguin that can I use?

I'm talking about the integration. Here is the schema :
servers ---> Monitored by Nagios ---> send alert with syslog ---> Another Tools Monitoring ---> send alert to the Administrator.

I've google to get explanation but there is no explanation about this.
Thank you for answering my question.
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: customize alert

Post by tgriep »

There is a setting in the nagios.cfg file called use_syslog which logs all of the nagios events to the /var/log/messages log file. By default it is enabled.
Could you use that with your other monitoring tool to retrieve that data and send the alerts that way?

Link to the description of the use_syslog setting.
http://nagios.sourceforge.net/docs/nagi ... use_syslog
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked