Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [nagios]

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

0
votes
0answers
49 views

NRPE Service Fails to Restart on Redhat

Whenever I try to restart/start my nrpe service on client machine, the following error shows up: Failed at step EXEC spawning /usr/lib/systemd/system/nrpe.service: Exec format error Can anyone ...
0
votes
0answers
34 views

Icinga2 monitoring client is not working

Today one of my VPS crashed so i did a restart. After the restart Icinga2 was not able to run anymore. Systemctl status icinga2.service stays in failed state. Process: 12009 ExecStart=/usr/sbin/...
0
votes
0answers
24 views

send warning on cpu usage with centreon

I would like to create a command notification on centreon that send a warning email on CPU usage greater than 50% for at least 5 minutes. I know that I have to create a command notification, but I ...
0
votes
1answer
187 views

Error testing centreon engine after creating a new host definition for a printer

I'm testing CENTREON to be used as the main tool to monitor logs in the company that I work for. I'm having trouble working with CENTERON SNMP and a printer. When I test the centreon engine this ...
1
vote
0answers
93 views

I have installed nagios core but unable to access it through web interface

Throws an error 404 file or dir not found and I am installing it first time I don't have any clue.Can you help finding the cause ? I am trying to access nagios web-interface from a remote machine.I ...
0
votes
1answer
886 views

How to send alert in nagios for particular service to particular mail id

Let i have configured one host in nagios and i have also configured contact for mails and that is also working, now the challenge is all alerts for any host going to mail id defined in contacts.cfg ...
0
votes
1answer
217 views

Send alert if system service goes down centos

I'd like to monitor a system service on a set of hosts that are all running centos. The status can easily be obtained from systemctl, but does anyone know of a way to send an email if the service dies ...
0
votes
0answers
242 views

Running a bash script as nrpe user fails

I created a bash script that is supposed to search inside all log folders on multiple servers, and compress all the log files on rpm based machines (RHEL and Centos 6 & 7 servers). The script is ...
0
votes
3answers
3k views

nagios nrpe plugin: permission issue

I have a permission issue that is driving me crazy. I am trying to monitor asterisk on an arch linux virtual machine, using the plugin "check_asterisk_peers". I have installed NRPE (the Nagios remote ...
0
votes
1answer
431 views

nagios — re-check service after “down” machine comes “up”

Let's say I have a nagios client. It has a scheduled downtime from 8am Monday through 8am Tuesday, and the machine is turned off for the entire duration. There is a service check it performs once ...
0
votes
3answers
2k 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
21 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: ...
2
votes
1answer
131 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
0answers
540 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
83 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 ...
0
votes
1answer
655 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 ...
8
votes
1answer
14k views

http availability check with Prometheus [closed]

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
1k 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....
1
vote
0answers
84 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
142 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
1answer
113 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
452 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
401 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 ...
1
vote
2answers
865 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
62 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(...
1
vote
0answers
521 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
votes
1answer
510 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 ...
0
votes
1answer
445 views

Centreon - fail to add host

I just installed the version 2.5.2 of Centreon, but I'm getting a weird behavior. When I try to add a host, through Configuration --> Hosts --> Add, fill all the required fields, and Save, it simply ...
0
votes
2answers
1k 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
1k 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 ...
10
votes
1answer
14k 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 ...
0
votes
1answer
585 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 ...
1
vote
4answers
9k 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 ...
0
votes
1answer
2k 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 ...
2
votes
2answers
967 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 ...
0
votes
1answer
273 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
487 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 ...
1
vote
1answer
6k 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
2answers
14k 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
1k 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 ...
0
votes
1answer
641 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 ...
2
votes
1answer
2k 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
1k 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 ...
4
votes
1answer
5k 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 ...
0
votes
1answer
1k 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
902 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 ...
6
votes
1answer
10k 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 ...
25
votes
4answers
20k 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 ...
0
votes
1answer
131 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