Networking :: Nagios Configuration With The NRPE?
May 17, 2011
I've followed all the instructions in nagios documentation to install the nrpe agent in a remote host, but the daemon nrpe is not listening on port.. that means I can't even test it localhost!
netstat -at | grep nrpe
returns nothing.
You added the nrpe entry to your /etc/services file - done
The only_from directive in the /etc/xinetd.d/nrpe file contains an entry for "127.0.0.1" - done
xinetd is installed and started - done
Check the system log files for references about xinetd or nrpe and fix any problems that are reported - syslog empty..
Installed lsof and lsof +M -i4:
xinetd 25680 root 5u IPv4 75987 TCP *:nrpe (LISTEN)
Is there anything else I can do to correct this? I configured this yesterday and it was working ok.. but today when got into computer it stopped working
View 2 Replies
ADVERTISEMENT
May 25, 2011
I want to have like 4 machines, each one of them with Nagios and nrpe (plugin+daemon) installed so that every one of the machines could be able to monitor all of the others.. Is there any problem doing this? Or having nrpe+nagios in the same machine is ok?
View 2 Replies
View Related
Feb 28, 2011
The communication between nagios and nrpe agent in the monitored host, can be without SSL? The problem is that I have 2 different versions of debian running on the machines and there are problems related to the libssl-dev package!
View 11 Replies
View Related
Jun 8, 2011
i tried to install nagios server and nrpe package i am getting some ssl issue i am unable to resolve this problem pls guide me i am using fedora servers i installed nagios,nagios-plugins,nrpe,xineted, and openssl* packages in my local fedora system i am able to login my web browser as a nagiosadmin account i can able to monitor my localhost as well as i installed the nrpe-x.x.x.tar.gz,xineted,openssl* in my remote system. i allowed the nagios server ip in /etc/xineted.d/nrpe.cfg i restarted the xineted service in my remote system i wrote the iptable rules in both systems (I allowed the 5666 port in both systems)
when i run below command i am getting the successfull out put local system and remote system
/usr/local/nagios/libexec/check_nrpe -H localhost
NRPE v2.12
/usr/local/nagios/libexec/check_nrpe -H <nagiosserverip>
CHECK_NRPE: Error - Could not complete SSL handshake.
View 8 Replies
View Related
May 24, 2010
We have Nagios running on a server, and are installing NRPE as a daemon on web servers we need to monitor. I'm two servers in and have hit a small snag. The two servers we're currently trying to monitor are, to the best of our knowledge, very similar (Centos 5.4, Apache, MySQL, PHP etc etc), and the installations of NRPE on them should be the same. One is being monitored just fine, however we can't check on the other one without including the -n switch (to disable SSL) in the check_nrpe call. If we don't, however, the error we get is, "CHECK_NRPE: Socket timeout after 10 seconds.". In /var/log/messages on the machine that fails we see:
May 24 17:23:49 ourserver xinetd[23583]: START: nrpe pid=27932 from=123.123.123.123
May 24 17:23:59 ourserver nrpe[27932]: Could not read request from client, bailing out...
May 24 17:23:59 ourserver xinetd[23583]: EXIT: nrpe status=0 pid=27932 duration=10(sec)
The only kind of related thing I can think of that's different between the two machines is that one (the one that works) has actually had an SSL certificate installed on it, for the site it hosts.
View 2 Replies
View Related
Apr 23, 2010
I am trying to install and configure nagios on RHEL 5. I have apache 2 installed and php all working as exepected. When i install nagios following the these steps [URL]. The nagios folder that is suppossed to be placed under apache2's httpd is no where to be seen. So when I try to open localhost/nagios/. It says: The requested URL /nagios/ was not found on this server. What can I do for the nagios to work on this system. The apache and php are working fine.
View 1 Replies
View Related
Feb 5, 2016
Running natios server in Debian 8? I cannot start nagios3 demon, it got following error:
Error: Check period '24x7' specified for service 'check ssh connection' on host 'testk2' is not defined anywhere!
Error: Notification period '24x7' specified for service 'check ssh connection' on host 'testk2' is not defined anywhere!
But if I commented following statement in generic-service_nagios2.cfg, it works just fine.
# check_period 24x7
# notification_period 24x7
View 2 Replies
View Related
May 26, 2011
I have installed latest Nagios and Nagios plugins. Nagios is working properly, but when I go to the browser n write the www.server-name.com/nagios, it gives
Not Found
The requested URL /nagios/ was not found on this server. How can I tell Apache to open Nagios on adding /nagios in my URL.
View 2 Replies
View Related
Oct 30, 2010
I'm working hard with Nagios 3.0.4 on Debian Lenny. I have some questions. I can't find any information about these issues. I have hosts with a first_notification_delay of 60 minutes.And I have the whole day a Nagios controlling the same hosts. It's good to know if the same host is turned on during the night, but my work period begins at 10:00 am and it finish at 22:00 pm, I'm not a lucky boy I have configured a notification Period to 10:00 am to 22:00 pm.
Question 1: If a host goes into hard state CRITICAL, I know that Nagios waits 60 minutes to send a notification, but What happens if the host recovers before the first_notification_delay period ( for example, 30 min before)?Does it send the recovery notification or not?
Question 2: If a hard state happens at 21:59. Does Nagios wait until the 10:00 am of the day after to send the notification? If the host recovers at 9:00 am of the day after is the notification message cancelled?
View 1 Replies
View Related
Mar 23, 2011
Heare i come with Nagios Problem, When ever i stop nagios it say's
[root@x292 ~]# service nagios stop
Stopping nagios: No lock file found in /usr/local/nagios/var/nagios.lock
When ever i restart nagios it say's
[root@x292 ~]# service nagios restart
Running configuration check... CONFIG ERROR! Restart aborted. Check your Nagios configuration.
my nagios.cfg file is
# 'Nagios CFG 1'
[Code]...
View 12 Replies
View Related
Feb 23, 2010
I have an existing Nagios installation from before I started working here. It seems to be working well but my boss has just asked for a report of what servers and the associated processes/functions are being monitored. Is there any way to generate this report other than going through all the Nagios configuration files and putting it together manually?
View 3 Replies
View Related
Jul 9, 2011
Error: Cannot open log file '/usr/local/nagios/var/archives/nagios-07-08-2011-00.log' for reading!
View 2 Replies
View Related
Aug 4, 2010
How to see the code behind the nagios plugin: Nagios Checker? I opened the folder which i have downloaded. After that where do i have to go to see the codes? Is it in App_Codes?
View 14 Replies
View Related
Jul 15, 2011
So we monitor all of our disk space, but only get pages for critical. What we would like to do is have one email sent to our team every month with all the "Warnings" for our disk. I have been searching and haven't found a way to do this. Any suggestions?
View 1 Replies
View Related
Apr 27, 2010
I have a CentOS 5.4 OpenVZ Virtual Environment running cPanel. I am trying to install nrpe to monitor services running on the VE, but there is a problem with the packages dependencies:
Code:
# yum install nrpe
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
[code]....
View 1 Replies
View Related
Jun 10, 2011
I have nagios/nrpe installed on a client and for some reason, the xinetd service is running/checking every minute. The log is just getting larger by the minute with the start and exit of xinetd.
View 19 Replies
View Related
Oct 5, 2010
someone with good experience of monitoring windows event logs with nrpe or check_nt + nsclient++ give me some good examples of the above. I do have this working, but some of the checks appear inconsistent.
Code:
./check_nrpe -H 10.222.203.151 -c CheckEventLog -a filter=new file="Security" MaxWarn=1 MaxCrit=2 filter-generated=<2d filter+eventType==Information filter=in filter=all truncate=400 unique descriptions
Eventlog check ok|'eventlog'=0;1;2;
I just cant seem to get this particular check correct.
View 2 Replies
View Related
Apr 5, 2011
What is the best nagios web frontend available? I want one that allows to add hosts, remove them, configure them, etc. If possible, with a good documentation.
View 3 Replies
View Related
Jun 29, 2011
Please help me figure out what's wrong. Other nagios check for the same host is working except for this one.In <hostname>.cfg of nagios server, I need to add this to check for a specific pattern in the host's log:Quote:
define service{
use production-logs
host_name hostname
[code]....
View 3 Replies
View Related
Mar 31, 2011
What are the standard procedures to monitor asterisk with nagios? I downloaded check_asterisk from URL...
View 1 Replies
View Related
Apr 8, 2011
Been following the steps to do the manual installation from [URL]:installation, but when I finish I cannot access http://192.168.100.110/nconf -> 192.168.100.110 is the ip address where nconf is installed.
Error:
Forbidden
You don't have permission to access /nconf on this server. Where is the problem? I did everything exactly as they said and got no kind of errors.
View 1 Replies
View Related
Sep 4, 2011
I want to monitor network bandwidth/usage/stats on an interface dedicated to iSCSI traffic.I've read nagios is one of the better solutions available, and I've found a How-To here: Installing Nagios on CentOS 4.x/5.x.But it seems yum won't install it. Am I missing something? Is it no longer possible to install nagios with yum? Should I use a different mirror?
View 6 Replies
View Related
Jan 12, 2010
Nagios - forbidden you dont have access to this server
I had made following changes on httpd.conf file:
ScriptAlias /nagios/cgi-bin/ "/usr/local/nagios/sbin/"
<Directory "/usr/local/nagios/sbin/">
AllowOverride AuthCongig
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
Alias /nagios/ "/usr/local/nagios/share/"
<Directory "/usr/local/nagios/share/">
Options None
AllowOverride AuthCongig
Order allow,deny
Allow from all
</Directory>
View 1 Replies
View Related
Feb 17, 2011
Is it possible to configure nagios to auto detect all the hosts that belong to a network and place them in the cfg files?
View 1 Replies
View Related
Feb 8, 2011
I have placed the restart-ssh script in /usr/local/nagios/libexec/eventhandler but its not working on seeing the event log the following information is obtained
Though i have checked the script manually by the following command
It works fine with both of the above mentioned commands
I don't know why it is not able to restart ssh when nagios is calling it as event handler
The service definition for ssh in localhost.cfg is as follow:
View 1 Replies
View Related
Feb 15, 2011
My Nagios email Notification is not working, I'm trying to setup external relay server using GMAIL. I'm also using dynamic IP.
Please see the test below:
Here is my PoSTFIX CONFIGURATION:
View 3 Replies
View Related
Jan 26, 2010
I'm configuring Nagios at the moment, but I'm doubting my approach to transparent switches a bit. It seems from reading the documentation that Nagios wants me to ignore transparent switches, although I also doubt this interpretation of mine.
A little example, a VPN:
Code:
demarcation point
|
[router]
/
[switch][switch]
| / |
[7 clients] [switch] [switch]
/ |
[6 clients] [4 clients] [5 clients]
As you can see, there are 22 clients connected to the router. Since switches don't have an address, they cannot be measured. But if I ignore the switches, the schema is an oversimplified picture of reality. So what I'm looking for is a way to display the switches, even though they don't have an address. What I did was, I created the switches as where they proper fully featured ones, and listening to 127.0.0.1 as address. Luckily, this tricked Nagios. And it works, but it's not very elegant. Is there a better way to approach this pseudo-problem? Perhaps a build-in I overlooked?
View 10 Replies
View Related
May 18, 2010
I have recently set up nagios on a ubuntu server (9.10), and set it up to monitor all the servers, switches etc, following the quickstart guide provided on the nagios website.My problem is this:I have setup the nagios-plugins, and tried to set it up to monitor the network switches via SNMP but receive the following within the nagios web interface:SNMP problem - No data received from host I tried it from the command line, and got the exact same error.Is there some further configuration I need to do to be able to get this data?I've used up all my google-fu, and read over everyone else's problems on every forum I could find, but to no avail.
View 6 Replies
View Related
Feb 15, 2011
I'm currently working with Nagios Core 3.2.2 and I'm trying to set up a mail notification.
My current settings:
Commands
Quote:
Notification Type: $NOTIFICATIONTYPE$
Date/Time: $LONGDATETIME$
Notification Type: $NOTIFICATIONTYPE$
Additional Info:
Services
Quote:
Host
Quote:
Quote:
I have 2 problems:
I'm getting mail that the PC is OK every 3 minutes.
And I don't know what I should config in Service and host .cfg. Sow that I will get a good description of the problem in the mail that Nagios is sending me.
View 4 Replies
View Related
Feb 11, 2011
I I'm currently working on Nagios Core 3.2.2, and I'm trying to set up a mail notification. I already install postfix and mailx. And I'm able to send a mail via Ubuntu. I checked this with the command: echo "mail test" | mailx -s "test subject" mail address.But I don't know what to do next. I'v tried many different suggestions that I found on goolge, but nothing seems to work.
View 26 Replies
View Related