monitoring REDHAT server with nagios3

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
apollo-13Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Seth SimmonsConnect With a Mentor Sr. Systems AdministratorCommented:
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
0
 
Sikhumbuzo NtsadaConnect With a Mentor Senior IT TechnicianCommented:
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.
0
 
apollo-13Author Commented:
i got it I think. but http status remote host YELLOW.what can be?
nnn
0
Build your data science skills into a career

Are you ready to take your data science career to the next step, or break into data science? With Springboard’s Data Science Career Track, you’ll master data science topics, have personalized career guidance, weekly calls with a data science expert, and a job guarantee.

 
apollo-13Author 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
}
0
 
gheistCommented:
nagios and plugins is available for epel for rhel
0
 
apollo-13Author 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
0
 
apollo-13Author 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?
0
 
apollo-13Author Commented:
i got it I think ,now all are green
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.