Software :: Install Nagios Server And Nrpe Package?
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.
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.
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..
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
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?
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!
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:
When ever I have an issue with our LDAP server (which I was able to fix) we see the following errors in /var/log/messages and it causes problems with our services running on that box, e.g. httpd, nrpe, xinetd, etc. Aug 8 17:44:42 hostname httpd: nss_ldap: failed to bind to LDAP server ldap://serveraddress/: Can't contact LDAP server Aug 8 17:44:42 hostname httpd: nss_ldap: reconnecting to LDAP server (sleeping 64 seconds)... I am only wanting to authenticate SSH and Sudo and not services like httpd, nrpe, xinetd etc.
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?
1) I have my Nagios running on the linux box and BMC Remedy Server on the Solaris box. I have simulated a mail from Nagios to be delivered to the Remedy server. But the Remedy Server does not receive it. I even tried snooping on port 25 but nothing has reached the box.
2) I have my Nagios running on the linux box and BMC Remedy Server on the Solaris box. I have simulated a mail from Nagios to be delivered to the Remedy server. I snooped on port 25 on the Solaris box. I could see the mail reaching the box, but it is not being forwarded to the Remedy inbox.
I have installed Nagios 3 on CentOS 5.2. Everything is running. It is monitoring 10 machines and 60 services for now. Now I want email notifications for the critical alerts from Nagios. I am already having one mail server (Qmail) running on different machine and I want to use its reference to send alerts to my network.
I have installed the nagios by FAN 2.0 CD. In this distro all the required softwares are bundled. Now i do not know where to start. How can i monitor my other server on the network. I have google on the internet but it is not giving the clear idea. Is there any document on the net or how to which can show that how to configure nagios with centreon or originally from changing nagios files.
I want to monitor RDS (mysql database of EC2) using Nagios. In command line ( I am able to do it but I dont know how to feed it in nagios . On nagios server if I execute the following command , I am able to fetch the information of database (RDS)
My Yum server gives error message while installing packages like rpmts_HdrformFdno: Header V3 DSA Signature: NOKEY, KEY, Key ID 37017186" Samba-3.0.33-3.7.el5.i386 rpm is not install.
But I can install other package like bind dhcpd etc.
Troubleshooting Nagios configuration? I'm already done with the installation and it's working fine. Now I'm working on adding Windows Server in Nagios to be monitored but the problem is my cfg_file=/etc/nagios3/objects/commands.cfg and cfg_file=/etc/nagios3/objects/windows.cfg there's no such /etc/nagios3/objects directory is existing on my nagios directory.
This is an odd question, but I can't figure out why my nagios emails aren't being sent. In fact, I got my last one three days ago so it *should* be working.
I have everything in contacts.cfg, and the admin page tells me that the following should be sent: Unknown, Warning, Critical, Recovery, Flapping, Downtime
I also have notify-service-by-email and notify-host-by-email.
I have no idea if nagios emails just don't want to be sent or what -- and I'm not even sure if the nagios emails are even trying to be sent.
Here's my contacts.cfg code...
There's nothing in /var/log/nagios besides the mention of that email address in objects.cache, so I have no idea if an email was attempted to be sent. My sendmail queue is empty as well.
Meanwhile, I have some downtime on a service and didn't get notified. Only the web interface is helping me out here. Any ideas why I am not getting email? How can I run a test to see if everything's working okay?
When I try to log into the webgui I am getting a file to download labled "nagios". When double-clicking the file I get the error " The file /path/to/file cannot be found. Please check the location and try again".
I have a CentOS-5 Server with Nagios installed,through which I monitor three other servers.I want to monitor a Linux partition which is mounted under CentOS-5 server which has Nagios installed.
I am currently deploying Nagios as my NMS on CentOS 5 and using pn4nagios to create graphs.I have successfully configured Nagios-3.3.3 along with nagios-plugins-1.4.15. its working fine and showing my windows machine and linux machine.But here is the problem, when I try to configure pnp4nagios-0.6.11 I am unable to restart nagios service as it gives me error in commands.cfgfile on line number 240.can sum1 tell me how to get rid of this error. i had encountered similar problem while using nagiosgrapher. kindly note that i have allowed perdata to be processed by setting its value to 1.
I have configured Nagios in my CentOS machine and is able to receive notificatons/alerts related to hosts and services at defined interval. Now I would like to receive combined reports (for daily downtime, availability of hosts/services) for all hosts and services in one go in the morning. Is there any configuration or setting on Nagios Splash screen.
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?
I have been trying to install the NumPy package for Python on to my home directory, as I run as part of a server and do not have permissions to install new packages in the Linux server.
I have set up Python in my home directory, and have configured ~/.bash_profile to find my local Python (which works, confirmed by testing).
However, when I attempt to install the NumPy package, I get the message error: could not create '/usr/local/lib/python2.6': Permission denied Which I find strange because I do not see why it would need to install files anywhere except my local Python directory.
how I might be able to specify the directory in which files are installed?
I seem to have a send mail problem .the server is RHes3 i edited the etc/mail/mail.mc
then did [root@Mixer mail]# make -C /etc/mail make: Entering directory `/etc/mail' WARNING: 'sendmail.mc' is modified. Please install package sendmail-cf to update your configuration. WARNING: 'submit.mc' is modified. Please install package sendmail-cf to update your configuration. make: Leaving directory `/etc/mail'
I have a trouble with the installation the libapreq2 package to configure mod_perl and Template Toolkit on Centos Linux with Apache 2.2.3 I obtained the following error message:
This error message appears when it tries to configure apxs.
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.
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>
I have installed nagios 3.2 on Rhel5. Now I want to add Dns and Dhcp service to be monitered by nagios (on local server). How can I add this services to get monitored by nagios. let us know the exact steps so that I can add this services in nagios.
We are using Nagios Server for different sites say India,US,Germany. All of them are in their respective groups. Now how do i create web access to 3 of them, so that they can monitor only their server? Say, India shouls be able to see and monitor only India group, US guys should able to monitor only US servers. And they not be anle to access other group.