03-01-2009
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 command "./configure" and initially this step was showing error like gcc not found and ssh lib files missing ....and so on and i solved these error. I am getting an output like this
************************************************
*** Configuration summary for nrpe 2.8 05-08-2007 ***:
General Options:
-------------------------
NRPE port: 5666
NRPE user: nagios
NRPE group: nagios
Review the options above for accuracy. If they look okay,
type 'make all' to compile the NRPE daemon and client.
Then i gave "make all" command but it is throwing an error like ...
************************************************
cc: acomp failed for nrpe.c
utils.c:
"../include/config.h", line 224: cannot find include file: <rsa.h>
"../include/config.h", line 225: cannot find include file: <crypto.h>
"../include/config.h", line 226: cannot find include file: <dh.h>
"../include/config.h", line 227: cannot find include file: <pem.h>
"../include/config.h", line 228: cannot find include file: <ssl.h>
"../include/config.h", line 229: cannot find include file: <err.h>
"../include/config.h", line 230: cannot find include file: <rand.h>
cc: acomp failed for utils.c
*** Error code 4
make: Fatal error: Command failed for target `nrpe'
Current working directory /u02/nagios_downloads/nrpe-2.8/src
*** Error code 1
make: Fatal error: Command failed for target `all'
****************************************************
I tried a lot to solve this but i am not able to find the root cause of this problem.Please help me out to solve this issue.
Thanks in advance
Renjesh Raju
10 More Discussions You Might Find Interesting
1. Solaris
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
2. Red Hat
HI all,
This is my first topic in this forum.
I have a test environment which has a fedora in it and i installed nagios 3.0.6
I added windows clients into it.
But i am not getting informative outputs from it.
Can anyone tell me where i can edit inorder to get a more informative garph output.... (4 Replies)
Discussion started by: Renjesh
4 Replies
3. Solaris
Hi guys,
I have a linux box with nagios installed on it. I have configured some windows clients very easily and now i want to configure a unix client on it.
Steps done:
1) installed nagios-plugins-1.4.13
2) downloaded nrpe-2.12, but while giving "./configure" command, it is throwing an... (1 Reply)
Discussion started by: Renjesh
1 Replies
4. Infrastructure Monitoring
(1)check the service of nrpe
# libexec/check_nrpe -H 59.26.240.63
NRPE v2.8.1
(2)check the resource of nrpe's host
# 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%... (0 Replies)
Discussion started by: zhengsenlin
0 Replies
5. UNIX and Linux Applications
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. Infrastructure Monitoring
Hi All,
I have been trying to find a documentation for implementing a check of an Oracle query on Nagios environment.
The requirement is very simple.
This is the Oracle query
select count(*) from IM_BC_JOB;
If count_number >= 10 then RED alert
if count_number < 10 then GREEN alert
... (1 Reply)
Discussion started by: gio123bgg
1 Replies
7. Infrastructure Monitoring
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
8. Infrastructure Monitoring
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
9. Red Hat
Hi,
I want to configure nagios core with my own scripts.Default configuration has been done like ping,http,Root partition,..so on...
But according to my requirement i have a script called cpumon.sh which will monitor the current cpu usage.
I gone through below link but could not find out... (1 Reply)
Discussion started by: mastansaheb
1 Replies
10. Red Hat
Hi,
I want to configure nagios core with my own scripts.Default configuration has been done like ping,http,Root partition,..so on...
But according to my requirement i have a script called cpumon.sh which will monitor the current cpu usage.
I gone through below link but could not find out... (1 Reply)
Discussion started by: mastansaheb
1 Replies
LEARN ABOUT DEBIAN
nagircbot
NAGIRCBOT(1) General Commands Manual NAGIRCBOT(1)
NAME
nagircbot - announce Nagios status to an IRC channel
SYNOPSIS
nagircbot [-CdeHmRStxX] [-A REGEX] [-c CHANNEL] [-f FILE] [-F HOST[:PORT]] [-i INTERVAL] [-I INTERVAL] [-k KEYWORD] [-n NICK] [-N PREFIX]
[-p PASSWORD] [-P FILE] [-s HOST[:PORT]] [-T LIST] [-u USERNAME] [-U NAME] [-z USER]
DESCRIPTION
nagircbot is an IRC bot that reads Nagios' status information and emits alerts to an IRC channel. It can filter alerts based on severity
(CRITICAL, HARD, SOFT, and/or UNKNOWN) or by regular expression. It can connect to IRC servers protected by password or SSL, and can
optionally set the topic to the current Nagios status.
OPTIONS
-A REGEX
Filter (omit) lines that match a basic regular expression.
-c CHANNEL
Channel to connect to, including the leading "#" (default: "#nagircbot").
-C Use colors in IRC messages.
-d Do not fork into the background.
-e Use encryption (SSL) when connecting to the IRC server.
-f FILE
Path to Nagios' status.log, indicated by the 'status_file' parameter in nagios.cfg (default: "/usr/local/nagios/var/status.log").
-F HOST[:PORT]
Retrieve status.log over the network. If no port is specified, the default is 33333.
-H Only announce alerts in 'HARD' state. This is the default.
-i INTERVAL
Nagios alert check interval, in seconds (default: 60).
-I INTERVAL
How often to announce Nagios global status in the channel, in seconds. Specify an interval of 0 (the default) to disable. Do not
specify an interval smaller than the alert check (-i) interval.
-k KEYWORD
Keyword for the channel (default: no keyword).
-m Display status information for an alert in separate IRC messages instead of combining on a single message.
-n NICK
IRC nick to use (default: "nagircbot").
-N PREFIX
Prefix for all in-channel IRC messages.
-p PASSWORD
IRC server password.
-P FILE
Write PID file.
-R Only announce CRITICAL/UNKNOWN alerts.
-s HOST[:PORT]
IRC server to connect to. If not specified, the default is "localhost:6667". If no port is specified, the default is 33333.
-S Also announce alerts in 'SOFT' state.
-t Set the channel topic to an alert summary.
-T LIST
Enable checks to see if Nagios is still running. Send 'check' in a private message to invoke the check. Accepts a comma-seperated
list (without spaces) with the following elements: max_time_last_host_update, max_time_oldest_host_update, max_time_last_host_check,
max_time_oldest_host_check, max_time_last_service_check, max_time_oldest_service_check, and max_time_oldest_next_service_check.
-u USERNAME
Username to log into the IRC server as.
-U NAME
IRC "real" or full name (default: "nagircbot").
-x status.log is in Nagios 1.0 format.
-X status.log is in Nagios 2.0/3.0 format. This is the default.
-z USER
User to run as.
AUTHOR
nagircbot was written by Folkert van Heusden <folkert@vanheusden.com>.
This manual page was written by John Morrissey <jwm@horde.net>, for the Debian project (and may be used by others).
December 13, 2010 NAGIRCBOT(1)