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
2
votes
1 answer

Nagios test with jmeter plugin failed with CRITICAL: ... java.util.prefs.FileSystemPreferences$1 run

The issue have been reproduced for a fresh installed and upgraded Lubuntu 20.04 with 5.4.0-42-generic kernel, Nagios 4.4.6, Java 1.8.0_265, Jmeter 5.3. When run this plugin manually: user@ubuntu:~$ /usr/bin/perl /usr/local/nagios/libexec/jmeter.pl…
Gryu
  • 2,102
  • 2
  • 16
  • 29
2
votes
5 answers

removing hosts from a comma delimited file

I am trying to script a way of removing hosts from the hostgroup file in Nagios Core. The format of the hostgroup file is: server1,server2,server3,server4 When removing a server, I need to be able to not only remove the server, but also the comma…
jackcsprat
  • 43
  • 7
2
votes
1 answer

Nagios: How to check service three times a day

I need a service to be checked three times a day at fixed times. The check should run at 7, 15 and 23 hours (every 8 hours at those times). What I have tried is define a this time period: define timeperiod{ timeperiod_name …
Nestoter
  • 79
  • 9
2
votes
1 answer

Python custom nagios script with beautiful soup - getting "NRPE: Unable to read output"

I am trying to create a custom python 2 nagios script in order to be able to monitor individual pacemaker resources. I managed to have it working when its reading the input from a file but I cannot manage to make it work when the input is being…
Georgios
  • 33
  • 1
  • 5
2
votes
1 answer

cant compile MK-Livestatus because of c++17

I want to install MK-Livestatus Following this insturctions to connect t with nagios and thruk. When I try to compile with ./configure && make it says me: checking for a BSD-compatible install... /usr/bin/install -c checking whether build…
Kai
  • 147
  • 1
  • 2
  • 11
2
votes
2 answers

Get (raw) data from Nagios using PHP (?)

I am looking into Nagios, and after checking their web site i came across 2 APIs in PHP for fetching/reading data from Nagios. sourceforge.net/projects/gwfoundation/ naupy.sourceforge.net/ Do you happen to know any other similar solutions (apis)…
Andreas
  • 5,305
  • 4
  • 41
  • 60
2
votes
1 answer

Thruk - Get details using API

I want to know the possibility of getting the details which is listed in thruk interface using API calls. For example, I need to collect details which is listed under Host Groups --> Summary(Grid) tab using python script, I need to know whether any…
iamnewuser
  • 360
  • 1
  • 4
  • 16
2
votes
2 answers

Populate NAGIOS host fetching status data from a database

we have a Nagios server and we use it to monitor our hosts. Now we have an old system that reports in a mysql database the status of some specific hosts. I'm wondering if there is a method (also if there is the possibility) to write a plugin that…
ryuujin
  • 192
  • 3
  • 16
2
votes
2 answers

Monitor Nagios client services only when NRPE on client is up

Is there any way to achieve below scenario in Nagios using NRPE? Nagios box will first check if NRPE on client box is up and if yes it wil check on other services configured for that client. If NRPE is down on client, it will throw notification for…
2
votes
1 answer

what is difference between active & passive check in nagios

What is exact difference between active and passive checks in Nagios ? I have checked on google found passive check is related to external services. Now what are these external services. And I need to configure passive then how to do ? Also unable…
2
votes
2 answers

Mismatch between ~ (user's home dir) and logged in user

Nagios is a IT infrastructure monitoring system. I am writing a simple plug-in script for it. A special account, nagios, has been created for it, and the script gets run by Nagios under that account. For debugging purposes, the script is very…
Oddthinking
  • 24,359
  • 19
  • 83
  • 121
2
votes
1 answer

Nagios web interface isn't using the configuration files

I want put my own configuration in the Nagios Core 4.3.4. I have the following setting in…
Frodogus
  • 67
  • 1
  • 6
2
votes
2 answers

can't find IP address for open nagios in browser

I downloaded nagios for vmware player and installed it, but I can't open it on my browser because I can't find the ip address. thanks. Look at the screenshot. You can see there is no IP.
haj_baba
  • 117
  • 4
  • 13
2
votes
1 answer

Spec for http health checks?

I want to implement a simple health check and make it available via http. Up to now I have only experience writing nagios plugins. Nagios has this API spec Is there already a common way how to write vendor-neutral health checks? If not, what should…
guettli
  • 25,042
  • 81
  • 346
  • 663
2
votes
1 answer

Finding downtimed checks

I need to find out all the checks which are in downtime state at present. I suspect there are some checks which have been downtimed for months and we need to find out all of them.