Nagios is a powerful monitoring system that enables organizations to identify and resolve IT infrastructure problems before they affect critical business processes.

learn more… | top users | synonyms

16
votes
3answers
12k views

Check number of pending security updates in Ubuntu

Let me start by saying I have been forbidden to enable automatic updates on our Ubuntu servers, for both security and regular packages. When I log into any of my four Ubuntu servers, the welcome ...
8
votes
1answer
7k views

Nagios - obsessing over this service: what does this mean?

We use Nagios to monitor our servers. I haven't set this up myself, and I want to change some settings. Most services have the setting obsessing enabled. I wonder what this means, and what happens if ...
5
votes
1answer
6k views

Executing a script when DHCPD give an IP

i want to do a setting to dynamically monitor my Work Station on my Wifi network. I've got my name server BIND and my dhcpd server all of that under linux working perfectly. But i didn't find any ...
4
votes
1answer
4k views

Configuring different SSH ports for each host remotley monitored by Nagios

I've completed the Nagios install and setup on three servers so that the instance on server A also provides reports for servers B & C (via NRPE). SSHD is purposefully listening to a different ...
4
votes
1answer
691 views

http availability check with Prometheus

I am considering to use Prometheus for Monitoring my systems. The document explains how i can use it for metric monitoring like counters, histograms and summary. But it does not provide any ...
2
votes
2answers
444 views

Nagios: monitor mysql auto_increment overflow

Recently we had an overflow in an auto_increment column in a mysql table. Now I'd like to monitor our databases with nagios, so that we'll be alerted whenever an auto_increment column comes near to ...
2
votes
2answers
410 views

Why does Nagios show localhost down?

I am running Nagios 4 in Debian Jessie. It shows the localhost down but all the services it check are OK. The Nagios plugins are installed. I followed this tutorial for the installation: http://nagios....
2
votes
1answer
43 views

Skype4Py line break

I try to use Skype4Py for Nagios notifications. I already can send messages from command-line. Now I try to insert line-break character (carriage return) into body of message. I use the following ...
1
vote
1answer
4k views

Nagios for Windows - Where to find it

I would like to install Nagios on my Windows 7. I know there used to be a version for windows, but I can't find it anywhere. Do you have any idea where to look? Or maybe some other way to easily ...
1
vote
3answers
5k views

nagiosgraph installation error

I'm trying to install nagiosgraph where my nagios system works perfectly fine. Downloaded nagiosgraph-1.5.0.tar.gz, unpacked it and issued ./install.pl --check-prereq It gives me checking required ...
1
vote
2answers
11k views

How to install Nagios + Centreon in centOS 6?

I already tried many tutorials over the internet trying to setup nagios and centreon to work together in centOS 6.4. What I want is to run a script and it does everything, I should go to centreon web ...
1
vote
0answers
26 views

nagios — disable notifications for this service on all hosts?

I know it's easy to pick a host and "Disable notifications for all services on this host". But I have an issue where (for example) I know that my NTP server is going to be down for two weeks. I ...
1
vote
0answers
19 views

Can I get a cumulative In and Out counter for SNMP of my CentOS Linux servers from Nagios?

My SNMP monitoring server (Nagios) has a handful of plugin files for network interface monitoring, none of which so far have really helped me, or my parameters are not correct. I am monitoring remote ...
1
vote
0answers
49 views

Stale output in nagios for Esxi check

I have written a simple shell script that detects the invalid login attempts on Esxi(5.1) server and prints the output on screen as IPs with no of connections with failed attempts. The script is ...
1
vote
1answer
66 views

How to see previously retrieved SNMP values in Nagios

I have successfully configured Nagios 3.2.3 to monitor several SNMP Agents. For instance, I'm monitoring the OID RFC1213-MIB::udpOutDatagrams.0 on one of those agents. This is working fine. I can ...
1
vote
0answers
246 views

check_oracle_health with OPS$Nagios account

I can login to my database via sqlplus with the OPS$ account, but i cannt seem to get it to work in with the nagios check_oracle_health. Im testing from the command line. nagios@servername:/usr/local/...
1
vote
0answers
557 views

Cannot get data from TCP port xxx.xx.xxx.xx:6556: (111, 'Connection refused')

I am using nagios with OMD. I have added Windows 2008 R2 hosts using WATO on nagios UI. The check_mk_agent is installed on Windows 2008 R2 hosts. While inventorying the services from that host I am ...
1
vote
1answer
1k views

Nagios SSH remote checks and WMI Check

I have install Nagios Core and I am using WMI Checks for Windows and Created a script to execute remote commands through ssh on my Linux machines. When Installing Nagios there is an option to run ...
1
vote
0answers
827 views

How to calculate CPU % based on raw CPU ticks in SNMP

According to http://net-snmp.sourceforge.net/docs/mibs/ucdavis.html#scalar_notcurrent ssCpuUser, ssCpuSystem, ssCpuIdle, etc are deprecated in favor of the raw variants (ssCpuRawUser, etc). The ...
0
votes
2answers
165 views

How make nagios alert if a host is present

I want a nagios alert that comes up when an IP number is present and goes away if it's absent. I can't google for this as mostly what people want is the opposite. I wonder if there is a simple way ...
0
votes
1answer
38 views

Grep from Log & Calculate then alert

I have a log file, which has the below lines in it. I need a bash script, which takes the values in Bold (4092.1M / 20.1G) & do the math & then alert from Zabbix [Eden: 3728.0M(3728.0M)->0.0B(...
0
votes
2answers
293 views

NagVis: Cannot load map because of error

So, I have a NagVis map that I've been working on, and I've come across a very large problem. I was adding some text boxes in the map to label icons and eventually got an error The attribute "text" ...
0
votes
1answer
595 views

Shell script to check all the URLs from a file or list

I'm looking for a shell script to check a list of URLs and give output. For example: http://abc.com/index.php http://abc1.com/index.php I may place them in a separate file or inside the script. I ...
0
votes
1answer
272 views

Nagios command definition files

Im following the tutorial from this page. Writing Custom Nagios Plugins Everything is working fine my only problem is that the first config file your supposed to edit is the command-plugins.cfg file ...
0
votes
1answer
15 views

NRPE CentOS 7 Could not open config directory

I just installed NRPE on CentOS 7 via Chef. This is the same recipe that I use for all of my CentOS 6 servers - and works there. NRPE starts up but errors out here: Jun 13 15:12:21 myserver nrpe[3667]...
0
votes
0answers
14 views

Critical number of processes for monitoring?

I was going to setup my Nagios/Icinga to monitor the processes on my machines and in case of a high number warn or error me via email. I know for monitoring load, you would use something like this: ...
0
votes
0answers
187 views

How can I see the current number of ftp connections in Windows Server 2003?

I'm trying to write a little script that will allow me to see the current number of FTP connections on a Windows 2003 Server. I'm not coming up with anything so far; at first I thought I could use ...
0
votes
0answers
6 views

Customizing Nagios to send http notifications

I am new to Nagios and can't find any help on customizing Nagios to send HTTP notifications. Is it possible in Nagios and if yes then how? Actually I am trying to monitor my Openstack service and ...
0
votes
0answers
60 views

NSCA “cache” directory /nagios/var/spool/checkresults

I've inherited an old nagios 3 environment with NSCA implemented on CENT 5. It is integrated into my companies datacenter software so much that we now cannot upgrade it. We are building a new ...
0
votes
0answers
8 views

nagios graphs linux machine

I have a script that outputs strings and a variable associated to that string and I want to send it to my Nagiosxi server every 5 minutes, Is it possible for Nagios to take that data and create a ...
0
votes
0answers
28 views

How to clear swap used on CentOS?

top is showing very high swap used. Which is causing nagios to throw alerts. I've tried running swapoff -a && swapon -a sync; echo 3 > /proc/sys/vm/drop_caches but it doesn't clear the ...
0
votes
0answers
15 views

What are the additonal metrics Collectl provides to Ganglia?

I use Ganglia and Nagios. Does Collectl provide any additional metrics in order to be considered as useful?
0
votes
1answer
153 views

Setting up icinga2 to allow API access

I'm looking to access the monitoring data in icinga2 via a RESTful API, from another server. I've got these package versions installed on Ubuntu 14.04.3 LTS: icinga2 2.3.11-1~ppa1~trusty1 ...
0
votes
0answers
101 views

Change Default Sender Email Address in RedHat 6.5

In nagios system we configured email system for postfix service, I did changes as shown below: Added the following line in the entry /etc/main.cf smtp_generic_maps = hash:/etc/postfix/generic And ...
0
votes
1answer
68 views

Nagios Admin User account

I would like to know my nagiosadmin password. I have already forgotton my password but i am the root user of my ubuntu os. Is it safe to sudo htpasswd /etc/nagios3/htpasswd.users nagiosadmin and key ...
0
votes
1answer
147 views

Wget not getting cookies, not pulling back results in check.

I'm having a couple of issues when porting check scripts between a couple of servers. The script. #!/bin/bash hostname=$1 port=$2 retstatus=0 retStr= st=`date "+%s.%N"` if [ $# -ne 2 ]; then ...
0
votes
1answer
211 views

Nagios configuration to monitorize virtual machine using Hyper-V with NAT

I will start by thank you very much for any help that i may possible have from any of you. I have a centos box that have nagios installed. I'm able to monitor several servers so far but I’m stuck in ...
0
votes
1answer
269 views

Centreon - fail to add host

I just installed the version 2.5.2 of Centreon, but I'm getting an weird behavior. When I try to add a host, through Configuration --> Hosts --> Add, fill all the required fields, and Save, it ...
0
votes
1answer
1k views

sporadic network timeouts detected by 1 or 2 nagios instances not making sense

I'm working for a small company as a linux and DB sysadmin. Since this is more commodity hardware I thought I'd try superuser first. We've been having odd networking problems occasionally and ...
0
votes
1answer
181 views

How to increase the number of notifications emails sent by Groundwork(Nagios) for any critical alert?

We are using the Groundwork(Nagios) for monitoring. Its working fine. The problem we are facing is, it shoot some number of email notifications only for any critical alerts. We are not getting ...
0
votes
1answer
212 views

How do I add a custom plugin to Nagios?

The Nagios documentation seems to go out of it's way to obscure this basic piece of information. I'm finding bits and pieces of the answer all over the web for the past couple hours. Either I can't ...
0
votes
1answer
548 views

/nagios/cgi-bin/statusmap.cgi was not found on this server

I installed Nagios 3.4.4 on Ubuntu server 12.10. Installation was successful but now I'm not able to view maps and trends. When I try, I get the following error /nagios/cgi-bin/statusmap.cgi was not ...
0
votes
1answer
803 views

How to access a virtual machine behind a NAT from a public network

I have a 1&1 hosting dedicated server (Linux Centos 5.x with Plesk) (IP 74.208.98.x) and I configured a NagiosXI virtual machine to run in NAT mode under VMware player 4.0. because I was unable to ...
0
votes
1answer
633 views

How to set downtime for any specific nagios host for certain time from commandline through curl?

I have a curl script which will do the service/host notification disable/enable from the command line through curl. But need to do that for scheduled downtime. Can someone suggest me. Okay it seems ...
0
votes
1answer
120 views

I install nagois, not showing up on localhost/nagois

I installed nagois on ubuntu. The service is running as nagois3. I am trying to access it via the browser as localhost/nagois/, its giving me a 404. Any ideas. Thanks Jean
-1
votes
1answer
291 views

NullReferenceException error in powershell

I am a newb in power-shell, i have written an script that stops process according to parameters in commandline. the problem is when i run the script in power shell it works but when i try to run it ...