Stop monitoring 127.0.0.1

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
canyonsdistrict
Posts: 12
Joined: Mon Oct 15, 2012 10:30 am

Stop monitoring 127.0.0.1

Post by canyonsdistrict »

How do I stop NLS from monitoring localhost?
User avatar
lgroschen
Posts: 384
Joined: Wed Nov 27, 2013 1:17 pm

Re: Stop monitoring 127.0.0.1

Post by lgroschen »

canyon,

Go to this file:

Code: Select all

vi /etc/rsyslog.d/nagioslogserver.conf
you will see this line second from the bottom:

Code: Select all

*.* @@localhost:5544      # NAGIOSLOGSERVER
Just add a # to comment that line out. Then restart rsyslog:

Code: Select all

service rsyslog restart

/Luke
/Luke
canyonsdistrict
Posts: 12
Joined: Mon Oct 15, 2012 10:30 am

Re: Stop monitoring 127.0.0.1

Post by canyonsdistrict »

Thank you.
Locked