[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 622
  • Last Modified:

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
0
apollo-13
Asked:
apollo-13
2 Solutions
 
Sikhumbuzo NtsadaCommented:
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
 
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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
Seth SimmonsSr. 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
 
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

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now