configure nrpe and nagios error


 
Thread Tools Search this Thread
Special Forums UNIX and Linux Applications Infrastructure Monitoring configure nrpe and nagios error
# 1  
Old 12-20-2009
configure nrpe and nagios error

   (1)check the service of nrpe
  [root@MONITOR nrpe]# libexec/check_nrpe -H 59.26.240.63
  NRPE v2.8.1
   (2)check the resource of nrpe's host
  [root@MONITOR nrpe]# libexec/check_nrpe -H 59.26.240.63 -c check_df
  DISK OK - free space: / 8241 MB (77% inode=98%); /var 5239 MB (95% inode=99%); /usr 11971 MB (86% inode=97%); /dev/shm 1013 MB (100% inode=99%);| /=2417MB;11218;11228;0;11238 /var=273MB;5792;5802;0;5812 /usr=1807MB;14508;14518;0;14528 /dev/shm=0MB;993;1003;0;1013
  [root@MONITOR nrpe]#libexec/check_nrpe -H 59.26.240.63 -c check_ips
  OK -connect counts is 13956

I have already add 192.168.1.200(locate ip)and 192.168.1.8 to nrpe.cfg
allowed_hosts=127.0.0.1,192.168.1.200,192.168.1.8
[root@MONITOR nrpe]# libexec/check_nrpe -H 127.0.0.1
  NRPE v2.8.1

[root@MONITOR nrpe]# libexec/check_nrpe -H 192.168.1.200
  connect confused ??why ,it is itself
[root@MONITOR nrpe]# libexec/check_nrpe -H 192.168.1.8
 I can't also monitoring the windows of the LAN.

3、check the error of configure with nagios
[root@nagios-server etc]# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

Nagios 2.9
Copyright (c) 1999-2007 Ethan Galstad (Nagios - link removed))
Last Modified: 04-10-2007
License: GPL

Reading configuration data...

Running pre-flight check on configuration data...

Checking services...
Error: Service check command 'check_nrpe' specified in service 'check-disk' for host 'nagios-server' not defined anywhere!
Error: Service check command 'check_nrpe' specified in service 'check-load' for host 'nagios-server' not defined anywhere!
Error: Service check command 'check_nrpe' specified in service 'total_procs' for host 'nagios-server' not defined anywhere!
Checked 5 services.

Checking hosts...
Error: Contact group 'nagios' specified in host 'nagios-server' is not defined anywhere!
Checked 1 hosts.
Checking host groups...
Checked 1 host groups.
Checking service groups...
Checked 0 service groups.
Checking contacts...
Error: Service notification command 'service-notify-by-email' specified for contact 'sery' is not defined anywhere!
Checked 1 contacts.

Checking contact groups...
Checked 1 contact groups.
Checking service escalations...
Checked 0 service escalations.
Checking service dependencies...
Checked 0 service dependencies.
Checking host escalations...
Checked 0 host escalations.
Checking host dependencies...
Checked 0 host dependencies.
Checking commands...
Checked 24 commands.
Checking time periods...
Checked 1 time periods.
Checking extended host info definitions...
Checked 0 extended host info definitions.
Checking extended service info definitions...
Checked 0 extended service info definitions.
Checking for circular paths between hosts...
Checking for circular host and service dependencies...
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...

Total Warnings: 0
Total Errors: 5

***> One or more problems was encountered while running the pre-flight check...

Check your configuration file(s) to ensure that they contain valid
directives and data defintions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation regarding the config files, as well as the
'Whats New' section to find out what has changed.

[root@nagios-server etc]#



Help me to solve this problem,Thanks very much.
contact with:
update by scottn: email address removed.

Last edited by Scott; 12-20-2009 at 09:17 PM.. Reason: Removed email address and link
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Infrastructure Monitoring

(Nagios)printer error on verify...WHY??

Issue: upon running - $ sudo /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg I'm receiving: Error: Could not find any hostgroup matching 'network-printers' (config file '/usr/local/nagios/etc/printers/NC_FrontOffice.cfg', starting on line 10) Error: Failed to process... (2 Replies)
Discussion started by: rgouette
2 Replies

2. Infrastructure Monitoring

Nagios check dependent on second nagios server

We have a dual Nagios server setup. One is setup for internal server monitoring on our LAN, while the second Nagios server is hosted externally and is used for external checks only such as URL and ping checks form the WAN side. I was wondering if there is any way to setup cross dependencies... (1 Reply)
Discussion started by: eugenes18t
1 Replies

3. Infrastructure Monitoring

Nagios Error

Im new to monitoring so i was testing few monitoring tools and I've had this problem with nagios, i downloaded the Nagios XI VM and im using virtualbox to run it and when i reach the GRUB i get this Error 16 : inconsistent file system structure, i have tried troubleshooting the problem but i... (1 Reply)
Discussion started by: HashB
1 Replies

4. Red Hat

Configure Nagios for Oracle

Hi, I have recently configured nagios for monitoring some of my production servers and it works fine but now I need to monitor my Oracle RAC servers. I have downloaded the following plugin (check_oracle-cluster) and have installed it on one of my RAC servers. Nagios Exchange - Check... (7 Replies)
Discussion started by: Duffs22
7 Replies

5. UNIX and Linux Applications

NRPE check_disk error [nagios,solaris]

Good morning folks, I'm having a problem with check_disk with mounted 3TB volumes. It appears that the value being returned by stavfs is too large to be processed by the check_disk plugin. Does anyone know of an updated check_disk plugin? Solaris 10: # /usr/local/nagios/libexec/check_disk -w... (0 Replies)
Discussion started by: avronius
0 Replies

6. Red Hat

Who can give me a document for configure nagios on RHEL 5

Who can give me a document for configure nagios on RHEL 5,thanks . (1 Reply)
Discussion started by: zhengsenlin
1 Replies

7. UNIX for Dummies Questions & Answers

Problems with nrpe

I've installed nagios in my local monitoring machine. I follow the nrpe user guide to install nrpe into the remote host and also the local machine. I install nrpe with ssl support in the remote host, but am returned with the error : when I run the check_nrpe command from the console. ... (0 Replies)
Discussion started by: anaigini45
0 Replies

8. Infrastructure Monitoring

Nagios - NRPE configuration error

HI guyz, I have a nagios 3.0.6 server which is running on fedora 5. I had already added some windows clients and monitoring it. Now i want to add a unix client. Steps done till now : - 1.nagios-plugins-1.4.13 was installed and configured. 2.unzipped and untarred the NRPE 2.8 3.I gave a... (0 Replies)
Discussion started by: Renjesh
0 Replies

9. Solaris

Nagios NRPE plugin won't install

Hi have a Solaris 9 box and I'm trying to install Nagios on it. I've installed the GCC compiler as well as OpenSSL and OpenSSH. When I run the # ./configure for the nrpe plugin it executes without any obvious errors. However, when I run the # make install afterwards if fails with the... (0 Replies)
Discussion started by: soliberus
0 Replies

10. Linux

Error While retriving Host details from Nagios

Whoops! Error: Could not read object configuration data! Here are some things you should check in order to resolve this error: 1. Verify configuration options using the -v command-line option to check for errors. 2. Check the Nagios log file for messages relating to startup or... (0 Replies)
Discussion started by: manian_balu
0 Replies
Login or Register to Ask a Question