Server :: Nagios / NRPE Oddity On Similar CentOS Machines

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


ADVERTISEMENT

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.

View 8 Replies View Related

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 View Related

Networking :: Nagios& Nrpe Working On The Same Machine?

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

Networking :: Monitoring - Communication Between Nagios & NRPE?

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

Ubuntu :: Networking / Setup A Domain And Directory Server Similar In Function To Windows Server W/ AD And Join Other Machines To The Domain

Aug 21, 2009

I've got a home server running Ubuntu Server 9.04 and several machines running Ubuntu Desktop (9.04 and 8.04) and Windows (XP, Vista and 7). Now what I want to do is to create a domain and directory server similar in function to Windows Server w/ AD and join my other machines to the domain, but am not sure where to start. I already have file shares with Samba but now I want to setup a domain.

View 3 Replies View Related

CentOS 5 Server :: LDAP Client - Nss_ldap: - Authenticate SSH And Sudo And Not Services Like Httpd - Nrpe - Xinetd

Aug 9, 2011

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.

View 2 Replies View Related

CentOS 5 Server :: Building VMWare Virtual Machines From CentOS Mail Servers?

Oct 12, 2010

I have a few mail servers, a mail log server and a web server running on Centos 5. Now I have a task: to avoid accidental crashes on the production servers while installing updates, my boss asked me to do clones (these clones will all be VMware virtual machines) of the servers (EXCLUDING the actual e-mails and log contents) and then to run those clones on VMWare Server. This way, first I will install and test updates on the clones and - if they will be running without crashes - I will apply the updates on the real production servers themselves.

I have already installed VMWare Server 2.0 I have a few questions: How do I build the virtual machines to exclude the actual mail files and mail logs? Can I use VMware Converter for this purpose, or do I have to use another program? How do I actually do this cloning? Is there a tutorial on how to do this?

View 4 Replies View Related

CentOS 5 Server :: Attach Windows Xp Machines To A CentOS DS?

Sep 22, 2011

I'm experimenting with CentOS DS and have a question.Is it possible to attach windows xp machines to a CentOS DS? If so, how?!I think I've skimmed most of the documentation out there. Did I miss something? Is this not what the DS was designed to do?

View 4 Replies View Related

Red Hat / Fedora :: Unable To Install Nrpe On CentOS 5.4

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

CentOS 5 :: NRPE And Xinetd Running Every Minte

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

Server :: Error: Cannot Open Log File '/usr/local/nagios/var/archives/nagios-07-08-2011-00.log' For Reading?

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

Server :: Nagios Server Setup In Centos 5.3

Aug 13, 2010

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.

View 6 Replies View Related

CentOS 5 Server :: Virtual Machines - Renaming Libvirt Guest?

Aug 29, 2010

I am new to virtual machines in general, and currently playing with the XEN-based VM in CentOS 5.5. Question: if neither virt-manager nor virsh (using "virsh edit <guest name>" and changing the name in the XML file) are designed to actually change a guest's name...then what is the recommended procedure for doing this?

View 1 Replies View Related

Server :: Limit On The Number Of Virtual Machines Running On RHES / CentOS XEN?

May 2, 2009

We've been experiencing sudden host server crashes minutes after starting a fourth virtual machine. Our setup looks like:

Dell Poweredge T300
1 x Intel Xeon X3323 Quad Core 2.5 ghz
16 GB Ram
CentOS 5.3 (64 bit)

Server is running a stripped down version of CentOS 5.3 (64-bit), running only the built-in Xen Virtualization Environment. There is no other services running on the server (not samba, httpd, sendmail, cups... nothing except Xen) We've created several virtual machines, and as long as we don't start a fourth virtual machine everything runs smoothly (impresive hardware).

Each virtual server is configured as:

PARAVIRTUALIZED
1 Virtual CPU
1 GB RAM

However, 5 minutes or so after starting a fourth virtual machine, the entire host server crashes and restarts itself. Are we limited by the number of cores on the host machine CPU (4 cores)? 1 for the host and 3 for virtual machines? We've read in forums about other Xen setups running up to 11 virtual machines on less powerful hardware? (a dual core server). Should we be using FULLY VIRTUALIZED virtual machines instead? Is the number of XEN virtual machines in fact limited by the number of cores? If so, how can someone run several virtual machines on a single core host?

By the way, we were replacing a previous Dell Server (Poweredge 2600 with 512 MB Ram and a single Xeon single core processor running Open Virtuozzo). We were able to run up to 16 virtual machines at the same time. Of course none of the machines endured hard work (testing environments, etc). But hey, my point is that we expected to get a much higher number of virtual machines on this new hardware.

View 8 Replies View Related

Server :: Build The Virtual Machines To Exclude The Actual Mail Files And Mail Logs From CentOS?

Oct 12, 2010

I have to administer a few mail servers, a mail log server, 4 nameservers and a web server -all running on Centos 5 server distributions. Now I have a task: to avoid accidental crashes on the production servers while installing updates, my boss asked me to do clones (these clones will all be VMware virtual machines) of the servers (EXCLUDING the actual e-mails and mail log contents) and then to run those clones on VMWare Server. This way, first I will install and test updates on the clones and - if they will be running without crashes - I will apply the updates on the real production servers themselves. I have already installed VMWare Server 2.0 I have a few questions:

- How do I build the virtual machines to exclude the actual mail files and mail logs? Can I use VMware Converter for this purpose, or do I have to use another program?
- How do I actually do this cloning? Is there a tutorial on how to do this?

View 3 Replies View Related

General :: Add Repository In Centos 5.3 For Nagios?

Feb 20, 2010

I am trying to add dag repository in Centos 5.3 for nagios according to this documents..

[URL]

but it is of no use... i dont know what is wrong...

how to install nagios in censtos 5.3? I am trying to install nagios with yum.

View 3 Replies View Related

CentOS 5 :: Installing The Nagios And Config?

Jun 3, 2011

Running CentOS 5 KDE as a DNS Resolving Caching Name Server, Centos.myname.local ... I run PeerBlock with iBlock List, the 2 main ones which blocks everything, I may have to config it to allow connections. How is Nagios to install and setup. I use it at work, in the NOC and really love this software. 5 computers and a lot of devices using reserved IP's.

View 3 Replies View Related

CentOS 5 Networking :: How To Yum Install Nagios

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

General :: How To See The Code Behind The Nagios Plugin: Nagios Checker

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

Software :: Monitor Mysql 5.0.77 With Nagios 3.2.1 Under CentOS 5.4?

Apr 7, 2010

Trying to monitor mysql 5.0.77 with nagios 3.2.1 under CentOS 5.4. Everything with nagios has been running without a hitch for me, however, when I added the following to /etc/nagios/objects/localhost.cfg to try to monitor mysql, I get an error that reads "Running configuration check... CONFIG ERROR! Restart aborted. Check your Nagios configuration."

define service{
use local-service
host_name localhost
service_description MYSQL
check_command check_mysql
notifications_enabled 1
}

This is pretty much what I added to monitor other things on the server such as ftp and smtp, just switched out check_smtp with check_mysql, etc.

View 2 Replies View Related

CentOS 5 :: Nagios Running The Command Manually

Dec 15, 2010

I found it once on the web by means of googling it.How do you run a command, from nrpe.cfg, to make sure that it works?For instance, command[check_total_procs]=/usr/local/nagios/libexec/check_procs -w 150 -c 200

View 1 Replies View Related

Server :: Unable To Receive Mails Sent By Nagios On Remedy Server

Oct 29, 2009

I have two situations here :

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.

View 5 Replies View Related

CentOS 5 :: Why The Selinux Module For Nagios Doesn't Work

Dec 8, 2009

Is there a reason why the selinux module for nagios just doesn't work? I'm running CentOS release 5.4 (Final) and did "yum install nagios" and now have nagios-3.2.0-1.el5.rf installed. I'm having to create policy after policy after policy, and still haven't reached the end of the rainbow.

I suppose after I run out of selinux violations, I could figure out how to combine all of these modules and post the result, but it seems really, really weird to think that I'm the only person who has ever installed nagios from the repo with SELinux enabled.

View 1 Replies View Related

Server :: Add New User Account Nagios Over Ubuntu Server ?

Nov 26, 2010

I need to add a aditional user account for monitoring web over nagios.

View 2 Replies View Related

Server :: How To Configure Nagios To Use Remote Mail Server

May 31, 2010

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.

View 6 Replies View Related

CentOS 5 :: Nagios - Checking Remote Host For Disk Space?

Nov 22, 2010

I'm trying to setup my test nagios to check the disk space of another linux box. I've got it setup and checking. But to my surprise, it was checking the nagios server's local disk space instead of the remote linux.

Here is my services.cfg.

define service{
use basic-service
name disk-space
check_command check_local_disk!20%!10%! /

[Code].....

View 10 Replies View Related

CentOS 5 :: Yum Not Able To Install Nagios-plugins While Net-snmp-perl.i386 Is Already Installed

Mar 19, 2009

I am having issues installing nagios-plugins using yum. Been using Suse don't have much experience with CentOS (CentOS release 5.2 (Final), ) Linux hoster 2.6.18-92.1.22.el5 #1 SMP Tue Dec 16 12:03:43 EST 2008 i686 athlon i386 GNU/Linux It says

"Error: Missing Dependency: perl(Net::SNMP) is needed by package nagios-plugins"
Whereas net-snmp-perl.i386 is already installed.
yum deplist nagios-plugins
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile

[Code]....

View 1 Replies View Related

Ubuntu :: Oddity With AWN And Grouping Common Windows

Jun 1, 2010

I am running a fresh install of Lucid 64bit with Desktop effects enabled and the latest driver from Nvidia 195.36.24 (but had the problem also with the ubuntu repo driver. The issue can be reproduced as follows. Set AWN to group common windows (I believe this is the default) Open several gedit windows (or any other app) Then open firefox and maximize the window (or simply move the window so it's directly above your gedit dock icon.) In the AWN dock, select the gedit icon and try and select an open gedit window. When you click the gedit icon in the AWN dock, you'll see a popup with all of your gedit windows. If you move the mouse to attempt and select one of the gedit's, the menu disappears and you can't select anything.

View 1 Replies View Related

Ubuntu :: Wmctrl Oddity On Dual Monitors

May 19, 2011

I have dual monitors (both 1600x1200) and X is set to span them. I prefer to set my Eclipse window to 3200x1100. However, when I use VNC to connect to my desktop, I'd have to pan around a lot, so I use wmctrl via a script to resize Eclipse (and Chrome, etc.) to better fit my smaller VNC viewport.

When I return to my dual-monitor desktop, I want to resize/move my windows again. But wmctrl does not work correctly. If I do

Code:

(from a script), then instead of putting the window at 0,0 and width 3200, the window appears on the second monitor (i.e. at 1600,0) with width 1600. So I must manually resize it which is more difficult.

Am I using wmctrl correctly? Is it not wmctrl's problem but my window manager? I'm using compiz in Ubuntu 10.10.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved