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 monitoring system that enables organizations to identify and resolve IT infrastructure problems before they affect critical business processes.

2
votes
2answers
38 views

Can I stop monitoring a Host if it's OFF, and turn monitoring ON when it's ON?

I was wondering if there's a possibility that Nagios could stop monitoring a host if it's OFF, and turn monitoring ON when it's ON? The idea was to use my Nagios server that will monitor if a ...
1
vote
1answer
22 views

Nagios notifications only for online hosts

At work I have some 30 Linux workstations which share user accounts and data with NIS and NFS. Users are allowed to turn them off if they do not need them. In order to get an overview over the systems ...
1
vote
3answers
47 views

Nagios/Icinga: Don't show CRITICAL for DRBD partitions on standby node

I've set up a pacemaker/corosync ha-cluster in a failover configuration with two nodes: productive and standby. There are three DRBD partitions. Everything works fine so far. I'm using Nagios NRPE on ...
0
votes
0answers
31 views

How to get ethernet bandwidth statistics with check_snmp?

while running check_snmp_int.pl to get interface names i get the answer # ./check_snmp_int.pl -H 56.22.17.43 -2 -C public -p 44200 -v -n zzz Alarm at 15 + 5 SNMP v2c login Filter : zzz OID : 1.3.6....
0
votes
1answer
8 views

Use serviceescalation to “de-escalate” notifications

Is it OK to use the serviceescalation Nagios facility to reduce frequency of the notifications sent? The idea is to setup a generic service template with frequent notifications by default and provide ...
-1
votes
0answers
23 views

nagios check client over openVPN

Client configured and worked reporting prior OpenVPN setup. Since we now run the client through a VPN the nagios server has no longer access to it. A basic check: command[check_swap]=/usr/lib/nagios/...
0
votes
1answer
20 views

Nagios notifications coming from NRPE client machine (NOT the Nagios server)

I have Nagios running on a Debian Jessie master server, with NRPE running on a Debian client. The root@localhost is getting a slew of emails - apparently originating from Nagios (NRPE) on the client, ...
0
votes
1answer
21 views

Nagios check_http: -I vs. -H

Here's a weird one: root@shrike:~# /omd/sites/mon1/lib/nagios/plugins/check_http -4 -I 192.168.6.23 -p 8080 -u /api CRITICAL - Socket timeout after 10 seconds root@shrike:~# /omd/sites/mon1/lib/...
0
votes
1answer
24 views

Security advantages: check_by_ssh versus check_nrpe

The question is which is more secure - as opposed to which is better from a configuration standpoint. I have a number of Centos and Debian systems. The NRPE daemon is installed and working on all ...
0
votes
0answers
23 views

Is it possible to add a quick status command to Thruk using a plugin?

I've looked through the documentation available on Thruk's website. The information about writing plugins is pretty succinct, and all the example plugins seems to alter, at most, the left menu bar ...
0
votes
0answers
23 views

Logstash monitoring: Verify status of pipelines

Trying to establish monitoring for http://elasticsearchnodeexample.com:9600/_node/stats/pipelines to verify status of 2 pipelines Output : "pipelines": { "pipeline1": { "events": { ...
1
vote
0answers
24 views

NRPE agent works on 1 server, but not on the other, exactly same command

I have a very strange issue. It seems that when I execute a check_nrpe command to check the load on remote machines, it works on server1, but exactly the same command does not work on server2, and it ...
0
votes
1answer
23 views

nagios/nrpe user confined to certain dir on ubuntu [closed]

I am confused. Not that is difficult to get me in a confused state, but I am so confused, that I don't know what my name is or where I live (like Baldrick!). Anyway, I have nrpe installed on a client ...
0
votes
1answer
20 views

Display Status of various services on a server from Nagios on a public web page

I want display the status of various services on a server from Nagios on a public web page. Is it possible?
1
vote
1answer
66 views

Monitoring Ansible pull with Nagios

I have a couple (say 40) of workstations and servers that are configured using Ansible in the pull configuration. Each machine has a cron job that uses ansible-pull to pull a git repository and apply ...
1
vote
1answer
97 views

Multiple certs on an ELB listener. Nagios monitoring only checks the default one, regardless of host name

So I have two sites running, each behind a single Amazon ELB. For the purpose of this post (and my companies privacy), using these hostnames for each: example.com anotherexample.com Certs are ...
0
votes
0answers
34 views

Check_MK, read-only OMD access for Digital Signage

I have the latest version (1.4.0p34) of Check_MK setup on Ubuntu server 18 with LDAP integration. I would like to have a page displayed on a Digital signage that I have that is a slide show of an ...
0
votes
1answer
116 views

Nagios 4.4.1 slows to crawl after about 1 week with frequent 100% CPU utilization

We are running a new Nagios Core server on Ubuntu 16 Server. Everything was running fine until today when all of a sudden, the site slowed to a crawl. Looking at top command results, we are seeing ...
0
votes
0answers
30 views

selinux denial nrpe access to a ldap port

type=AVC msg=audit(1530564199.190:10850): avc: denied { name_connect } for pid=28307 comm="check_syncrepl." dest=389 scontext=system_u:system_r:nrpe_t:s0 tcontext=system_u:object_r:ldap_port_t:s0 ...
0
votes
0answers
28 views

Why is nagios sending multiple Recovery notifications?

Since I updated Nagios Core to version 4.4.0 it is constantly (every 5 minutes) sending recovery notifications for all hosts (HOST UP). This could even be normal behavior, but the hosts are not ...
0
votes
1answer
49 views

Nagio NRPE - Always return 0

I'm trying to execute a bash script in nagios by using nrpe client, but it is always returning "0" value as output. If i'm using this command in the script: _VAR=$(atop -r file.atop | grep '^DSK' |...
0
votes
1answer
100 views

Nagios receives OK passive alerts but still reports “passive check is stale”

I am doing some monitoring on Nagios using passive alerts. I am getting some strange behavior by: passive alerts are being received by Nagios but Nagios insists that the alerts are stale. Here is ...
1
vote
1answer
30 views

How to find good state io stats?

I would like to monitor disk I/O activity in case something courses heavy I/O. This Nagios plugin seams simple, where he gives examples of Example: Tps, read and write thresholds: ./...
0
votes
1answer
22 views

Does nagios XI support notifcations based on a threshold percentage of the number of services in a hostgroup that are in a critical state?

Say there's a hostgroup defined on a Nagios server; and that hostgroup has a notification set up to go off when a certain service or services reach a critical state then a notification email will be ...
1
vote
1answer
59 views

NRPE: Command substitution in nrpe.cfg

I would like to check the size of a log file created day earlier. In nrpe.cfg I have tried to achieve this through command: command[example_command] =/usr/lib64/nagis/plugins/check_file_age -w 172800 ...
1
vote
0answers
34 views

In Nagios is check_interval used with passive alerts?

I have a service that sends only passive alerts to a Nagios server; there are no active alerts set up in Nagios for this service. Here is one of the passive alerts: define service { use ...
1
vote
0answers
93 views

check_mk using ssh tunnels/ssh proxy

I'm trying to setup monitoring with check_mk and wanted to see if this is possible. My issue is as follows: Layout: Monitoring server: 1.1.1.1 Bastion server: 2.2.2.2 Host A: ...
2
votes
1answer
146 views

Nagios NTP Time: UNKNOWN: Lookup failure for host $ARG1$ (us.pool.ntp.org)

We are currently utilizing Nagios to monitor our production servers at my workplace. Our Nagios instance is configured on a Linux server where we monitor both Linux and Windows machines. I have been ...
0
votes
4answers
92 views

Is it possible to exclude specific hosts from a Nagios check_command

I've got the following configuration: define host { name generic-host [...] check_command check-host-alive [...] register 0 } ...
0
votes
1answer
141 views

How to filter and search in the Nagios XI web interface?

Having been given (erroronious?) instructions on how to look at Nagios XI I was wondering the following: If under Service Status Summary I click the number under Critical, I get a filter which states ...
1
vote
1answer
58 views

Are Nagios error messages set somewhere in the configuration or web interface?

From what little I know about Nagios, there are little programs that get run on different machines across the network, and they return a status of OK, WARN, or CRITICAL based on a value returned when ...
0
votes
1answer
140 views

Moving Nagios Core to new server (RHEL6 to CentOS 7)

The time has come to migrate our very,very old Nagios Core server on RHEL6 to a new CentOS 7 machine. This old nagios server has been running for several years. I am wondering if all I have to copy ...
1
vote
0answers
48 views

Check_mk on auto-scaling non-public servers

In the company I work on, currently all monitoring is "mandated" to happen using check_mk. This forces some of our deployments in AWS to always have public IPs on all machines, and then someone has ...
2
votes
1answer
87 views

Have a script receive an IP from the DHCP server?

None of the Nagios DHCP check plugins can actually take an IP from the DHCP server as a real test. All they do is ask which IP it would give to a certain mac address. Our DHCP server failed, where ...
-1
votes
1answer
164 views

Whats your High availability strategy for Nagios XI?

I have one Nagios XI server monitoring many hosts in multiple data centers. Now I want to setup DR in another datacenter for my primary Nagios XI. Whats the best way to do this? Please share your ...
0
votes
1answer
372 views

Nagios Disable service check if host unreachable

When I've declared the host, I specified a command to check if my host is alive (simple ping) : hostgroups hostgroup-WIN check_interval 1 retry_interval 1 ...
-2
votes
1answer
211 views

How to monitor an AWS instance (Linux system) using nagios in local machine as server via nrpe plugin [closed]

I have my nagios core installed in an local machine(linux 16.04), which is perfectly monitoring my local remote machines. But i want to monitor an AWS instance (linux machine) using the same local ...
2
votes
0answers
190 views

configuring Nagios with check_by_ssh

I am trying to configure Nagios to use "check_by_ssh" plugin, to monitor if the service "mpg123" is running on a remote Linux computer. I have Configured passwordless login between Nagios server &...
2
votes
0answers
88 views

Check_mk time periods

I have a Check_MK Raw 1.4.0p21 setup on a Ubuntu box 16.04.3 LTS. I`m having difficultie getting Check_MK to respect WATO Time periode. As you can see in the code block, i have a window between 04:56 ...
1
vote
1answer
168 views

Nagios on RHEL 6 (EPEL package) stopped working after update

The EPEL package for Nagios on RedHat Enterprise Linux 6 has been updated some weeks ago from version 3.4 to version 4.3. The update has been done by a simple yum update command, and nothing indicated ...
0
votes
1answer
944 views

NRPE: Unable to read output - Permissions issues

I am trying to be as clear as possible: my brain is going to explode, like those explodding kittens. Both machines Centos 7: [root@192.168.10.2]# cat /proc/version Linux version 3.10.0-693.11.6.el7....
0
votes
2answers
344 views

Nagios exclude a service for a single host

How i can exclude a inherited service for a singe host, without editing my service file? i have in my conf.d directory many files, one for each host, hostgroup, template and service. hg_linux-server....
2
votes
1answer
172 views

How to monitor znapzend?

How one can monitor znapzend? Yes, I am aware it produces logs, but logs are pretty extensive and reading them through when you are backing up many filesystems is not convenient at all. Ideally: ...
0
votes
1answer
46 views

integrate nagios core with hp nmmi

I have one nagios core server . One of my partner companies request me to get snmp trap from nagios core to their HP NNMi system for some servers . I would like to ask you about integration between ...
0
votes
1answer
103 views

Check manual page of check_sql always giving a warning status

I've installed OMD and activated the Check_mk interface and Nagios engine. It works like a charm except for one thing. I can't properly check my SQL. Here is what I've done so far: Created a new ...
0
votes
1answer
203 views

NRPE command skips sudo command when called from remote host

Issue : The tmp file clearing script is able to execute successfully on nagios client machine. When same script called from the nagios master, the script is executed but it skips sudo line in the ...
1
vote
0answers
256 views

Nagios Graph Data

I have recently setup nagios for monitoring our services and was successfully able to setup nagios graphs as well and it is working as expected. I just have one question... while i move my mouse over ...
-3
votes
1answer
152 views

Python script doesn't work when executed from NRPE

I have developed a Nagios plugin using Python3 for checking some backups. If I run the script from the client, everything works fine, but when I run it from the Nagios server using NRPE, it doesn't ...
2
votes
1answer
263 views

Nagios3 “Return code of 127 is out of bounds”

Without making any changes to nagios3 config or OS (debian) filesystem changes when I add some extra devices (to the 12000+ on it already) suddenly [1508925621] Warning: Return code of 127 for check ...
0
votes
1answer
117 views

Nagios in Docker - Source IP SNAT for NRPE isue

Nagios Server is running in a docker container. It's reaching out for host checks through NRPE running on various hosts within the network. The docker host is 10.10.100.100 Iptables ONLY allows ...