monitoring REDHAT server with nagios3

apollo-13
apollo-13 used Ask the Experts™
on
I have a nagios 3 and i monitor windows server no Problem.
I need to monitor Redhat linux server too under nagios.

can please help me configration for this Linux host ?

Thanks
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Sikhumbuzo NtsadaIT Administration
Commented:
This site has a step by step tutorial, read and understand what it's doing. I would first test it on a lab box to see the result.

Author

Commented:
i got it I think. but http status remote host YELLOW.what can be?
nnn

Author

Commented:
#commands.conf
define command{
command_name webcheck
command_line $USER1$/check_http -e "HTTP/1.1 200 OK" -H $ARG1$
}


                                                    #objects.conf
#define host{
        use                         windows-server        ; Name of host template to use
        host_name                  server
        #alias                        72.11.10.1
        address                    72.11.10.1
        }


define service{
use generic-service
host_name server
service_description PING
check_command check_ping!100.0,20%!500.0,60%
}
define service{
use generic-service
host_name server
service_description HTTP
check_command check_http
notifications_enabled 0
}
Should you be charging more for IT Services?

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Sr. Systems Administrator
Commented:
from looking at the webcheck command, it appears to be correct

you are checking a host and expecting a 200 response but seems it's password protected so it would return a 403.  since it's a warning in nagios, that is correct because it wasn't the expected result

another possibility is that you are using the IP address instead of the actual host name
that could cause a 403 to be returned depending how your web server is configured
Top Expert 2015

Commented:
nagios and plugins is available for epel for rhel

Author

Commented:
can you explain me please that?
another possibility is that you are using the IP address instead of the actual host name
that could cause a 403 to be returned depending how your web server is configured

Author

Commented:
i think use other port to Login this Website

how can i define port in nagios too?

}
define service{
use generic-service
host_name Server:portnummber     ist that correct?

Author

Commented:
i got it I think ,now all are green

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial