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?
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
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.
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?
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.
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
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.
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'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%! /
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?
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.
I would like to install Nagios on a server without having access to root. I plan to install Apache without root in a local space to run the nagios web application. As far as the nagios plugins I plan to use NRPE and I do not need the two plugins require root to run so I am fine with that.So I have seen hints on how to install the plugins and apache without root but I have seen nothing on installing nagios itself. The odd thing is that the machines I will install on already have a nagios and nagioscmd users/groups so I a plan at this point to use them. According to the instructions it seems like all I need root for now is the 'make install'.So what does make install do that requires root and is there a way I can get around it
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
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.
I started my install of Nagios on Ubuntu 9.10 w.Network Manager. I later found out that network manager doesn or should I say it makes configuring static ip's difficult and that the most direct approach would be to edit the interfaces file. Part of this I read that network manager could be removed, which I did however now with network manager deleted from the system and the interfaces file configured for static. I am able to view the internet however I've seem to have loss the ablity to see my Nagios page locally.
I'm new on Dell PowerEdge 2900. I dont know how to install centOS 5.2 on it. whice OS type that I should select. at first I select RH enterprise 5 and it format HDD. already and I put centOS 5.2 in, but it was deny and eject that cd. when I power off it shown that
"root(hd0,1)filesystem type is ext2f2,partition type0x83 kernel/linux/vmlinz%(ksLocations) Error is : file not found press any key to continue"
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 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:
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?
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.
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'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.
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.