Solved

monitoring REDHAT server with nagios3

Posted on 2014-02-27
8
600 Views
Last Modified: 2014-03-03
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
Comment
Question by:apollo-13
8 Comments
 
LVL 17

Assisted Solution

by:Sikhumbuzo Ntsada
Sikhumbuzo Ntsada earned 250 total points
ID: 39891269
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
 

Author Comment

by:apollo-13
ID: 39891358
i got it I think. but http status remote host YELLOW.what can be?
nnn
0
 

Author Comment

by:apollo-13
ID: 39891453
#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
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 
LVL 34

Accepted Solution

by:
Seth Simmons earned 250 total points
ID: 39892356
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
 
LVL 62

Expert Comment

by:gheist
ID: 39897873
nagios and plugins is available for epel for rhel
0
 

Author Comment

by:apollo-13
ID: 39900060
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
 

Author Comment

by:apollo-13
ID: 39900074
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
 

Author Comment

by:apollo-13
ID: 39900079
i got it I think ,now all are green
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question