Solved

monitoring REDHAT server with nagios3

Posted on 2014-02-27
8
603 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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to specify rdns for multi-homed mail server 5 78
Zimbra on Amazon Linux help 7 108
winscp 000webhost.com 6 95
Linux Real Time Memory on Distinct 24 Cycle 7 42
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

685 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