Questions tagged [nagios]

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

Filter by
Sorted by
Tagged with
1 vote
0 answers
26 views

check_ping in nagios resolves to ipv6 instead of ipv4

mn1.testchn1s1.ind ~# /usr/lib64/nagios/plugins/check_ping -H mn1.testchn1s1.pub -w "700,60%" -c "1400,100%" -p 5 -4 -s PING OK - Packet loss = 0%, RTA = 0.10 ms - mn1.testchn1s1....
0 votes
2 answers
64 views

How to cause high iowait on Linux

I wrote a Nagios script to send alerts when IOwait increases. Now I need a command that can spike it so I can test my monitoring script with different threshold values, any advice?
3 votes
3 answers
4k views

NRPE not working after NRPE plugin upgrade from v2.15 to v3.2.1

I'm migrating our Icinga 2 from Debian 8 to Ubuntu 18.04. The old server had NRPE plugin 2.15. The new server has NRPE plugin 3.2.1. If I try to connect with the new plugin to old NRPE servers (v2.15 ...
1 vote
1 answer
6k 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: [[email protected]]# cat /proc/version Linux version 3.10.0-693.11.6.el7....
0 votes
1 answer
6k views

check_nrpe: ssocket time out after 10 seconds

I have a Nagios core setup in my environment for monitoring Windows, Linux servers etc. Recently i have configured a physical and swap memory monitoring using the plugin ./check_nrpe for windows ...
6 votes
2 answers
5k views

Nagios: Service dependency on same host for an entire hostgroup

I have a Nagios system with a large number of hosts categorised in different hostgroups. Each of these hosts has two services monitored on it, one of which is intended to be dependent on the other - ...
3 votes
1 answer
10k views

Nagios Notification interval and first notification delay

I have used in past these two parameters in Nagios ( first_notification_delay, notification_interval ) and until now worked perfect for me. Now that I have added new checks which use nrpe command. the ...
0 votes
0 answers
101 views

Nagios SNMP not alerting when check returns 0

I'm trying to setup a check for a water cooling device. If the flow rate hits 0, I want to setup an alert. Here is my config: #/etc/nagios/custom/commands.cfg ## Chillwater define command { ...
0 votes
0 answers
52 views

How do I change the default Nagios Threshold values when creating a new host

When I create a new host the default threshold values are already set for CPU, memory and disk space on each volume. I am wondering if I can set these default values somewhere in the Nagios config so ...
0 votes
1 answer
71 views

Command not running in Nagios

Can anyone clarify for me why the following code is not running when I place it in command_line for a custom Nagios command? It works when I run it in terminal. command_name notify-host-by-sms ...
0 votes
1 answer
37 views

What's wrong with my nagios kdc configuration?

I want to setup a service to check the kdc with nagios. With my kdc (samba4) I create the user using this script #!/bin/bash USER=nagioskerberos DOMAIN=myhost.priv SERVICE=nagioskerberos FQDN=nagios1....
0 votes
2 answers
3k views

Unable to ping remote server Nagios

We've recently set up Nagios on one of our Amazon EC2 instances to act as a monitoring server to our other instances. nrpe was installed on our staging server stager and appears to be working fine: ...
0 votes
1 answer
152 views

Remote call of NRPE comman fails in one case, while succeeding locally in all

I have amazingly strange issue with monitoring a CIFS (SMB) shared folder mounted to Linux machines by Nagios + NRPE. NRPE process runs on the Linux machines under dedicated user nrpe: # systemctl ...
0 votes
1 answer
208 views

Debian 11, Nagios4, and 403 forbidden

Having installed Debian's Nagios4 package I can't access it. Apache gives me this: AH01797: client denied by server configuration: /usr/share/nagios4/htdocs I've tried various things, such as ...
0 votes
1 answer
331 views

Nagios core GUI/UI fails to open after nagios-4.4.6-4 to 4.4.9-1 update on Rhel8

Nagios core GUI/UI fails to open after nagios-4.4.6-4 to 4.4.9-1 update on Rhel8 vm. Whoops! Error: Could not read host and service status information! Nothing in /var/log/nagios/nagios.log. /sbin/...
9 votes
4 answers
25k views

Change how Nagios determines if server is offline?

I'm new to nagios and my server is on a network which does not allow the server to be pinged. Is it possible for me to check if the server is up another way? e.g via SSH or HTTP? How would I do this ...
8 votes
4 answers
10k views

Can I set up a different method of authentication on Nagios?

Nagios is a wonderful too for monitoring servers. Their web interface is not bad, either. However I am not crazy about using the HTTP Authentication that comes standard. Is there a way to use another ...
4 votes
3 answers
5k views

Hiding hosts in Nagios

I would like to monitor a few hundred hosts using Nagios, yet I only want the switch fabric to show up in the statusmap.cgi. Is there a way to prevent a host from showing up in the status map, yet ...
1 vote
1 answer
4k views

How to use nagios monitor a windows process that have parameters?

I've already all environment working. I've used the check_nt to monitor process, like this: define service{ use generic-service host_name netserver ...
2 votes
1 answer
1k views

How to get SNMP on HP StoreOnce working?

I'm trying to add HPE StoreOnce 3640 Gen4 to the Nagios using SNMP v3 (other SNMP versions aren't supported in this device), and I'm stuck. It has the SW version 4.2.1-1942.21. This is not the first ...
13 votes
6 answers
53k views

Nagios - new user doesn't get enabled permissions

I follow simple steps from guides all over the web: a) add an user to Nagios via command htpasswd htpasswd.users username b) in cgi.cfg file add this user to lines: ...
15 votes
7 answers
93k views

What Warning and Critical values to use for check_load?

Right now I am using these values: # y = c * p / 100 # y: nagios value # c: number of cores # p: wanted load procent # 4 cores # time 5 minutes 10 minutes 15 minutes # warning: 90% ...
0 votes
0 answers
68 views

Is it possible to fine grain different types of notifications in Nagios?

I wondered if I could fine tune Nagios notifications For example: For most services, only CRITICAL notifications For some individual services, both CRITICAL and WARNING notifications For some other ...
1 vote
1 answer
2k views

How to check status of one port on remote host using NSClient++?

I know I could check for telnet on a known IP using other programs like: nmap -A 192.168.0.1/32 -p 23 Or, look for open ports from 20 to 30 on host.example.com: nc -z host.example.com 20-30 I need ...
0 votes
1 answer
141 views

Which one to learn: Nagios or Zabbix?

I need to answer a network administrator student which tool is more useful in terms of "employability" at the moment : Nagios or Zabbix. But this is not my field. I've heard that Nagios had ...
0 votes
1 answer
289 views

check_ssh returning Permission denied

I'm a long time Nagios fan, like 15 years. In one of my environments, I have Nagios and NRPE running on several Linux hosts and everything has been working as expected for several months. I recently ...
0 votes
1 answer
3k views

Nagios: how to monitor supermicro based systems

I have several older supermicro based NAS devices. Happened to be at our hosting facility today and saw that one had a disk failure. I thought that I was monitoring this via SNMP->Nagios but clearly I'...
1 vote
2 answers
2k views

Nagios Configuration Error

Running /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg Does not give any error. The output is Things look okay - No serious problems were detected during the pre-flight check ...
4 votes
1 answer
3k views

Nagios - check_openmanage broken by latest SW update

Have been updating some servers in a small group this week. A mixture of CentOS 6.x and RHEL 5.x. In every case they are getting an updated srvadmin-* package and subsequently popping up in nagios ...
1 vote
1 answer
3k views

Updated OMD and Check_MK Agent returns Null

I updated OMD to the current version using the following: omd update <site> Everything appears to update fine, but now my servers with the check_mk agent installed show (null) and I do not ...
5 votes
6 answers
28k views

nrpe: Host is not allowed to talk to us

I installed nrpe on new servers. Nagios is already running and checking other server (I haven't installed). I've got several error lines in my syslog file : Oct 31 15:17:01 myservername nrpe[41848]: ...
3 votes
1 answer
2k views

NRPE (Winrpe) Powershell Command - Unable to read output in Nagios

I'm trying to run an Powershell script from NRPE.cfg and get the output in Nagios. When i run the script on the local (Windows) server, everything is just fine. But when i put it in the NRPE.cfg en ...
2 votes
1 answer
2k views

Check_MK: How do I create Notifications based on groups of services instead of just one service?

I'd like to be able to create a notification that alerts based on the availability of a group of services, instead of just one threshold. For example, say I have 10 AWS servers that all do the same ...
0 votes
1 answer
162 views

Nagios BAT file not returning correct status code

I've written a batch file for a Windows server to detect whether a particular service is running and if it isn't, return a Critical status back to Nagios. The script works perfectly (as in, it can ...
12 votes
4 answers
10k views

Send all outgoing mail to /dev/null

With sendmail, how would you send all outgoing mail to /dev/null or just prevent email from being queued up or sent at all? On a development nagios box I want prevent sending of mail so that ...
1 vote
2 answers
711 views

What is difference between host checks and service checks in Nagios and why both are needed?

Nagios has two kinds of objects: hosts, which represent systems with distinct IP addresses services, which are associated with hosts Each host is considered a collection of services; for example, we ...
1 vote
1 answer
2k views

Nagios - Only Want Alert if Service Failed for 15 minutes

I read through the documentation and thought my services would alert me 15 minutes after going critical, but I am getting the emails right away. /etc/nagios/nagios.cfg command_check_interval=1 ...
0 votes
1 answer
51 views

Nagios on a virtual network

I am trying to emulate a virtual network in Kathara (ex. NetKit), based on OSPF and BGP routing and I am new to this. After emulating the network I need to monitor it using Nagios, but my question is ...
0 votes
0 answers
14 views

NRPE: Command 'check_ssh' not defined [duplicate]

We have a new Nagios Core server monitoring Linux hosts running NRPE plugins. Most of them are working as expected, but the SSH Monitor is failing with "NRPE: Command 'check_ssh' not defined&...
1 vote
2 answers
3k views

How to monitor freeradius using EAP-MSCHAP v2 authentication method with Nagios?

How to monitor freeradius using EAP-MSCHAP v2 authentication method with Nagios? Do you know any nagios plugins for such monitoring?
0 votes
3 answers
2k views

NAGIOS - Alert when low bandwidth usage on linux interface

I have Nagios running and monitoring devices by snmp. I need to monitor bandwidth usage of a Linux server interface and send an alert when its below from 100kbps of usage. Are there any plugin to do ...
0 votes
2 answers
432 views

How to properly display accentuated characters in a check_nrpe result based on a Powershell script?

I have a custom Powershell script called by Nagios using "check_nrpe". Currently all check results output messages with special characters like 'è', 'é' or 'à' are not displayed properly ...
0 votes
1 answer
305 views

nagios-nrpe-server output different vs running locally

To be sure I don't have any double definition of the command, I created a new debug command name in the nrpe config /etc/nagios/nrpe.d # grep -R debug debug.cfg:command[debug_check_disks]=/usr/lib/...
0 votes
1 answer
685 views

Linux server nrpe nagios check_procs process state monitoring - need info, when process is restarted

I need to be informed by nagios when a process on a remote server is restarted. The only thing I do not know how to do is to check its process state, and what way to do it? I got in remote server this ...
0 votes
1 answer
177 views

Naemon still sending DOWN notifications for removed host

I shutdown an old web server, and immediately started receiving DOWN notifications from Naemon. Now I have removed that host entirely from the Naemon config, and restarted the Naemon service. Yet I ...
15 votes
5 answers
49k views

How can I tell if Windows is running in Safe Mode?

I have a Windows server that will sometimes reboot into safe mode after updates. I'm working on that issue but what I'd really like to know is how can I check to see if Windows is running in safe mode ...
0 votes
1 answer
559 views

Nagios check_nt MEMUSAGE average

there is a method to check the memory (RAM) usage by the average in windows? (Like CPULOAD -l minutes)
1 vote
1 answer
417 views

Talking to NRPE2 clients from an NRPE3 server

I'm standing up a new Nagios server, and I have run into a bit of a snag. Our existing server is running FreeBSD 11 w/ Nagios 4.3.4 and nrpe2. It can communicate w/ the nrpe2 daemons on our various ...
1 vote
2 answers
1k views

Why Nagios doesn't accept external commands on my system?

I have enabled external commands, and they do work from the web interface. I have enabled external command logging. I write to the socket with this script: $ echo "[`date +%s`] ADD_HOST_COMMENT;...
0 votes
1 answer
960 views

Nagios4 prompts for username/password but has limited capabilities after logged in

I followed the instructions from here: https://support.nagios.com/forum/viewtopic.php?f=7&t=56970 And now nagios prompts me to log in. It is correctly parsing the username/password. Unfortunately,...

1
2 3 4 5
26