Questions tagged [nagios]

Nagios (now known as Nagios Core) is a open source monitoring solution. It offers monitoring and alerting services for servers, switches, applications and services.

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

Nagios watches hosts and services that you specify, alerting you when things go bad and when they get better. Some of its many features include monitoring of network services (SMTP, POP3, HTTP, NNTP, ICMP, etc.), monitoring of host resources (processor load, disk usage, etc.), and contact notifications when service or host problems occur and get resolved (via email, pager, or user-defined method).

1227 questions
7
votes
2 answers

PostgresQL Automating VACUUM FULL for bloated tables

We have a product using PostgreSQL database server that is deployed at a couple of hundred clients. Some of them have gathered tens of gigabytes of data over the years. So in the next version we will introduce automated cleanup procedures which will…
GeertPt
  • 16,398
  • 2
  • 37
  • 61
6
votes
4 answers

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

I need to set a schedule downtime for specific nagios host from the commandline by curl..how do I do that? here is something I am already using for service/host notification enable/disable from commandline. curl -d "some input here" url "user:pass"…
unixbhaskar
  • 129
  • 2
  • 3
  • 12
6
votes
2 answers

CHECK_NRPE Could not connect to....: Connect reset by peer in Nagios NRPE

Im working on opensuse Leap 42.1. I have installed NRPE on the remote host. I following precisely the installation guide. However, the deaemon runs: netstat -at | egrep "nrpe|5666" tcp 0 0 *:nrpe *:* …
riasc
  • 281
  • 2
  • 3
  • 15
6
votes
8 answers

Nagios - HTTP WARNING: HTTP/1.1 403 Forbidden

I am using Nagios XI. I entered following command in order to monitor httpd service of the remote Linux server (128.19.5.131): /usr/local/nagios/libexec/check_http -H 128.19.5.131 It is giving me following output: HTTP WARNING: HTTP/1.1 403…
Mandar Shinde
  • 1,735
  • 4
  • 20
  • 28
6
votes
4 answers

cannot find ssl libraries?

I am trying to install nrpe plugin on ubuntu 12.04, however I am facing issue with ssl libraries. I tried installing "libcurl3-openssl-dev" package, however when I try to compile nrpe plugin after installing this package I am facing issue saying…
user2614425
  • 61
  • 1
  • 2
  • 3
6
votes
1 answer

How to print out Nagios Service UP Time Percentage from Nagios-Report Perl Module

I can print out Host UP Time percentage from Nagios-Report Perl Module with following code: #!/usr/bin/perl use strict ; use Nagios::Report ; my $x = Nagios::Report->new(q) or die "Can't construct Nagios::Report…
Zim3r
  • 580
  • 2
  • 14
  • 36
5
votes
7 answers

How to parse nagios status.dat file?

I'd like to parse status.dat file for nagios3 and output as xml with a python script. The xml part is the easy one but how do I go about parsing the file? Use multi line regex? It's possible the file will be large as many hosts and services are…
daniels
  • 18,416
  • 31
  • 103
  • 173
5
votes
1 answer

what is the nagios performance data format

I am looking for a spec or an example of how to format the Nagios performance data. This documentation does not provide any good examples I am looking for an explanation on how to create a table like this in Thruk / Nagios output. Raw Data…
nelaaro
  • 3,006
  • 5
  • 38
  • 56
5
votes
2 answers

Disabling notifications for a host in Check_MK

I'm losing my mind trying to disable notifications for a specific host in Check_MK. For example, I want the host to be monitored - show up on the network topology and be able to see the problems on the host via the Check_MK views, but I don't want…
Lim00n
  • 51
  • 1
  • 1
  • 3
5
votes
2 answers

Nagios/NRPE giving a "No output returned from plugin" error

Getting a "No output returned from plugin" error message from a Nagios/NRPE script 1) Running Nagios v3.2.3 and NRPE v2.12 2) The script: OK_STATE=0 UNAME=/bin/uname -r echo "OK: Kernel Version=$UNAME" exit $OK_STATE 2)…
Rick
  • 51
  • 1
  • 1
  • 4
5
votes
2 answers

Nagios Plugin Error: (No output on stdout) ... failed. errno is 2: No such file or directory

I am using custom Nagios plugins for the first time and am running into this error when I create a service for the plugin. (No output on stdout) stderr: execvp(/usr/local/nagios/libexec/check_load.py, ...) failed. errno is 2: No such file or…
Matt Hahn
  • 394
  • 1
  • 4
  • 13
5
votes
2 answers

Fetch a list of blocked hosts from MySQL server

We have 10 or so web servers that share a few MySQL servers. Due to some networking problems, there were too many connection errors and one of the webservers was blocked. I resolved this by flushing the hosts but it took a short while to notice…
Dan Walker
  • 434
  • 1
  • 5
  • 15
5
votes
2 answers

simulate nagios notifications

My normal method of testing the notification and escalation chain is to simulate a failure by causing one, for example blocking a port. But this is thoroughly unsatisfying. I don't want down time recorded in nagios where there was none. I also…
user3373692
  • 51
  • 1
  • 1
  • 2
5
votes
1 answer

NRPE remote host setup on amazon ec2

I have been trying to monitor a remote server using Nagios-Nrpe. The remote host is the Amazon Ec2 instance where I have installed npre daemon on xinetd. I have added my nagios server IP to "only-from" property in /etc/xinet.d/nrpe file. I have…
Dushyant Gupta
  • 507
  • 1
  • 5
  • 24
5
votes
3 answers

Nagios 4: Can’t open /etc/rc.d/init.d/functions

I just upgrade my Nagios server to the latest version (4.0.1) on my Debian 7 system. When i start the daemon, i have the following error: # /etc/init.d/nagios start /etc/init.d/nagios: 20: .: Can't open /etc/rc.d/init.d/functions The…
Nicolargo
  • 124
  • 1
  • 1
  • 9
1
2
3
81 82