Hi,
I have installed nagios core 4.0.1 with the help of installation guide, link below.
http://nagios.sourceforge.net/docs/3_0/ ... edora.html
As per this guide in section -- 8) Modify SELinux Settings
I have run these two command.
chcon -R -t httpd_sys_content_t /usr/local/nagios/sbin/
chcon -R -t httpd_sys_content_t /usr/local/nagios/share/
As its says now I have stared getting alter notification as followed.
***** Nagios *****
Notification Type: PROBLEM
Service: Swap Usage
Host: localhost
Address: 127.0.0.1
State: CRITICAL
Date/Time: Mon Oct 28 15:10:21 EDT 2013
------------------------
I'm a new user of linux and i don't have any idea how to reverse it. So that the alert notification could be stopped & red flag could be removed from Swap Usage service.
How to get reverse for chcon command
Re: How to get reverse for chcon command
Can you run the following command from the CLI and show us the output?
Note: Your path the the nagios plugins may be different. Modify the above command accordingly.
Code: Select all
/usr/local/nagios/libexec/check_swap -w 20% -c 10% -v
Be sure to check out our Knowledgebase for helpful articles and solutions!