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.

0
votes
0answers
8 views

Test case failures with webinject

When using webinject with multiple test cases defined in a single file, if any of the test cases file, all the rest of the test cases after that will fail as well. Is that normal? If I change the test ...
0
votes
0answers
18 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
16 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": { ...
0
votes
0answers
17 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
20 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
17 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
45 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
96 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
28 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
86 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
25 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
24 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
36 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
73 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
29 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
20 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
52 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
31 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
67 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
94 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
76 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
98 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
57 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
112 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
40 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
69 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
140 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
295 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
178 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
165 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
80 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
148 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
736 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
276 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
150 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
44 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
95 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
156 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
247 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
136 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
193 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
114 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 ...
0
votes
1answer
1k views

Nagios Error : requested URL /nagios not found [closed]

I installed Nagios Core from here on Ubuntu 16.04 https://assets.nagios.com/downloads/nagioscore/docs/Installing_Nagios_Core_From_Source.pdf And I cannot access /nagios on the server. Apache2 and ...
-1
votes
1answer
501 views

Monitor APIs with Nagios?

I'm just getting started with Nagios and I'm wondering if anyone knows of a plugin or built-in function that would allow me to monitor restful APIs? I want to be able to run a predefined GET/POST ...
1
vote
1answer
194 views

Running plugins with NRPE as root: NRPE unable to read output

I have a problem with nagios and NRPE and I can't resolve it. I've already tried. # grep "nrpe_user=" /etc/nagios/nrpe.cfg nrpe_user=nrpe NRPE is running as the user nrpe. So I added this lines to ...
1
vote
1answer
69 views

Nagios Plugin API: return N results, not just one

I love the nagios plugin API. It is easy and successful. The exit-status of the check can have these values: 0: ok 1: WARN 2: ERR 3: Unkown See: https://assets.nagios.com/downloads/nagioscore/docs/...
0
votes
1answer
640 views

How Do We Nagios On AWS Autoscaling?

Previously, setting up Nagios server to do monitoring is easy since every agent servers are static. But now, here comes AWS. How do we design/configure such that a Nagios server can automatically push ...
2
votes
1answer
211 views

How to trigger a service-check by a change in a host-status?

We have an array of servers, any of which could go down generating a medium-priority notification: define host { host_name foo1 contacts medium-priority use ...
1
vote
1answer
128 views

NRPE daemon turns ::1 into 52.0.0.0/14 subnet

I configured NRPE daemon (/usr/local/nagios/etc/nrpe.cfg) in debug mode because of some startup problems and I realized that the ::1 found by default in the allowed_hosts directive: allowed_hosts=127....
0
votes
1answer
85 views

Nagios Core - Automation

We are using Nagios Core for monitoring devices and we are currently facing some hurdles with monitoring a large scale environment. It requires a lot of manual tasks such as collecting OID's and MIB's,...