Page 2 of 2
Re: Alerts
Posted: Thu Aug 24, 2017 1:31 pm
by cdienger
Check in /etc/httpd/conf/httpd.conf where you should see a section like:
<Directory "/var/www/html">
....
Order allow,deny
Allow from all
</Directory>
The Order and Allow lines allow access for all hosts. You could have a different config which restricts access to certain machines
Re: Alerts
Posted: Tue Aug 29, 2017 1:27 am
by ericssonvietnam
cdienger wrote:Check in /etc/httpd/conf/httpd.conf where you should see a section like:
<Directory "/var/www/html">
....
Order allow,deny
Allow from all
</Directory>
The Order and Allow lines allow access for all hosts. You could have a different config which restricts access to certain machines
I have checked the configuration exist as mentioned above.
Re: Alerts
Posted: Tue Aug 29, 2017 9:45 am
by scottwilkerson
Out of curiosity does your /var/www/html directory have an index.html file or anything to be displayed?
You could be getting the 403 because directory listing is denied and you don't have a file to display
Re: Alerts
Posted: Tue Aug 29, 2017 10:15 am
by ericssonvietnam
scottwilkerson wrote:Out of curiosity does your /var/www/html directory have an index.html file or anything to be displayed?
You could be getting the 403 because directory listing is denied and you don't have a file to display
I can see it only have the server reposiotory no html page at all.
Can you help me out how to get rid of it.
[root@localhost html]# ls -ltr
total 260
drwxr-xr-x. 3 root root 4096 Dec 23 2016 dvd
drwxr-xr-x. 2 root root 262144 Dec 26 2016 local
[root@localhost html]# pwd
/var/www/html
[root@localhost html]#
Re: Alerts
Posted: Tue Aug 29, 2017 10:33 am
by scottwilkerson
run this
Code: Select all
echo "Hello" > /var/www/html/index.html
chmod +r /var/www/html/index.html
That should so it the next time the nagios check is performed
Re: Alerts
Posted: Wed Aug 30, 2017 4:05 pm
by ericssonvietnam
scottwilkerson wrote:run this
Code: Select all
echo "Hello" > /var/www/html/index.html
chmod +r /var/www/html/index.html
That should so it the next time the nagios check is performed
Now its fixed but m still observing below :
Total Processes
This service has 1 comment associated with it This service is flapping between states
WARNING 08-31-2017 02:34:24 0d 0h 1m 25s 2/4 PROCS WARNING: 278 processes with STATE = RSZDT
Is it normal i m not observing any hung process as well now.
Re: Alerts
Posted: Wed Aug 30, 2017 4:34 pm
by scottwilkerson
ericssonvietnam wrote:
Now its fixed but m still observing below :
Total Processes
This service has 1 comment associated with it This service is flapping between states
WARNING 08-31-2017 02:34:24 0d 0h 1m 25s 2/4 PROCS WARNING: 278 processes with STATE = RSZDT
Is it normal i m not observing any hung process as well now.
Glad to hear this is fixed.
The output above is normal if your system has a larger amount of processes, you would want to modify the configuration file to adjust the warning and critical thresholds up for the Total Processes service
Re: Alerts
Posted: Wed Aug 30, 2017 4:58 pm
by ericssonvietnam
scottwilkerson wrote:ericssonvietnam wrote:
Now its fixed but m still observing below :
Total Processes
This service has 1 comment associated with it This service is flapping between states
WARNING 08-31-2017 02:34:24 0d 0h 1m 25s 2/4 PROCS WARNING: 278 processes with STATE = RSZDT
Is it normal i m not observing any hung process as well now.
Glad to hear this is fixed.
The output above is normal if your system has a larger amount of processes, you would want to modify the configuration file to adjust the warning and critical thresholds up for the Total Processes service
thanks scott