A few nagios questions

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
alexviso
Posts: 4
Joined: Fri Mar 17, 2017 3:33 am

A few nagios questions

Post by alexviso »

Kind time of the day,
I recently started using nagios and faced with the fact that I see in the logs a lot of messages here this kind of

nagios : TTY=unknown ; PWD=/var/www/html/nagioslogserver/www ; USER=root ; COMMAND=/etc/init.d/logstash status
apache : TTY=unknown ; PWD=/var/www/html/nagioslogserver/www ; USER=root ; COMMAND=/etc/init.d/elasticsearch status

And there are a lot of such reports, how do I deal with it?
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: A few nagios questions

Post by mcapra »

Were you wondering why those are being displayed in Nagios Log Server? They're from the local machine's /var/log/messages. If you don't want them in Nagios Log Server, remove this file:

Code: Select all

/etc/rsyslog.d/nagioslogserver.conf
Then restart the rsyslog service.
Former Nagios employee
https://www.mcapra.com/
Locked