Questions tagged [nagios]
Nagios is a monitoring system that enables organizations to identify and resolve IT infrastructure problems before they affect critical business processes.
1,304 questions
0
votes
0
answers
10
views
Nagios 4.4.12 notification error: (No output on stdout) stderr on ESXi hardware check
Excuse me but I'm new to Nagios.
We are facing an issue with Nagios v4.4.12 where a WARNING notification keeps popping up against our ESXi hosts.
Notifications page
Below is the ESXi Hardware Check ...
0
votes
0
answers
31
views
MariaDB monitoring not possible with Nagios and check_procs
I have a problem with nagios supervision. I would like to check that MariaDB is running on my web server, but Nagios returns "CRITICAL PROCESSES: 0 processes with command name 'mariadbd'".
...
0
votes
0
answers
167
views
Nagios XI License Key
I need to automate the deployment of Nagios XI but I can not find where to configure the License Key or Configure license in non-interactive way.I only found the interactive way to do it through the ...
0
votes
0
answers
36
views
Disabling and re-enabling SELinux permanently disables policy
I have installed a monitoring system based on Nagios on a RHEL 9.4 machine in order to check the status of a systemd unit.
The check wasn´t working and after some troubleshooting we realized that ...
0
votes
0
answers
65
views
Cannot get Nagios to run in browser (401 Unathorized)
For the past 2-3 days at work I've been banging my head over Nagios and trying to make it run with different RHEL based distros (CentOS, AlmaLinux, etc.) However, even after closely following the ...
1
vote
0
answers
57
views
Does order matter in a Nagios configuration?
I want to use the "cfg_dir" directive in my main nagios.cfg to provide a configuration directory containing various local configuration files. Some of the files in my configuration directory ...
0
votes
0
answers
30
views
Nagios Core, i am unable to login onto the console with nagiosadmin account after making an image of my nagios server
I am unable to login to nagios core console with nagiosadmin user after creating a server from a image, i have changed nagiosadmin user account password a couple of times but i still can not login.
0
votes
0
answers
298
views
On client nrpe linux server, what to do to set a new dh key, to solve `check_nrpe: dh key too small`
I am moving a Nagios4 server from a Debian Stretch to a Ubuntu 22.04.
I am monitoring a Debian Stretch server, when the Nagios4 server was on Debian Stretch, the check was working, now on Ubuntu 22.04 ...
1
vote
2
answers
240
views
`systemctl reload` fails, but failed status not recognized by `systemctl is-failed`
On Ubuntu 22.04 server, I have a bash script that reloads nagios4 config. After the reload I would like to check if the service is fine
#!/bin/bash
sudo systemctl reload nagios4.service
if (systemctl ...
1
vote
0
answers
153
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
169
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?
0
votes
0
answers
123
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
1
answer
117
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
48
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
1
answer
353
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
190
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
429
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/...
0
votes
0
answers
80
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 ...
0
votes
1
answer
206
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
342
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 ...
2
votes
1
answer
2k
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 ...
0
votes
1
answer
187
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 ...
1
vote
2
answers
925
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 ...
0
votes
1
answer
60
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
17
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&...
0
votes
1
answer
339
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
784
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
225
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 ...
0
votes
1
answer
652
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)
0
votes
0
answers
59
views
Widget data in centreon is not coming due to accidental file deletion
I am on Centreon 2.8.22, I was playing with a certain widget and I accidentally extracted all the files of that widget in the widget folder. So then I was deleting all the files which was extracted ...
0
votes
1
answer
2k
views
Nagios - 'Error: Could not open config directory' but permissions are correct and selinux is permissive
Trying to setup a separate directory to store my nagios configuration files and when I attempt to validate the configuration I get the below error.
Error: Could not open config directory '/usr/local/...
1
vote
1
answer
328
views
Monitoring Linux Servers behind squid proxy via Nagioscore
This is my first post here, please help me.
I want to monitor a few redhat servers which are behind a squid proxy server. I have done the below configuration:
RedHat Node behind proxy server ...
0
votes
2
answers
622
views
Mass acknowledging alert in NAGIOS
Good evening to all!
I was wondering around to find solution of mass acknowledging the alerts all at once for 500+ service notification in Nagios. After a long hardship, I came across building below ...
0
votes
2
answers
572
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
489
views
Nagios check_procs not reporting processes not spawned by root
I am trying to set up Nagios to monitor the nginx service on my load balancer but have been unsuccessful in getting it to show the service being up. The command and service definition are below. It ...
0
votes
1
answer
202
views
Grafana false positive SNMP down
NOTE: I also have Nagios running on another server that reports bandwidth warnings and up/down status. Not a single switch is alerting from this, only Grafana.
Grafana version 1.14.1
I was receiving ...
0
votes
1
answer
3k
views
How to monitor login authentication using http_check nagios plugin
I'm using the http_check Nagios plugin to monitor an URL and I'd like to test if the login is working given specific user and password.
I've made several attempts with different approaches but none of ...
0
votes
1
answer
46
views
Shinken probe on windows server but windows server on VPN network (monitoring server outside VPN)
I need to monitore a windows server with skinken, but this server is accessible with a VPN connection (with strong security, done by an electronic tool and human action).
The monitoring server is not ...
0
votes
1
answer
808
views
Nagios: NRPE unable to read output
I really hope that someone can provide a solution for me. I have check_memory to check my remote hosts, but no matter what I try, I keep getting "NRPE unable to read output" on the Nagios ...
1
vote
1
answer
1k
views
Nagios - Setting a host as down when passive checks freshness is expired?
The environment has only passive check enables. Active checks are not possible.
The objective of the configuration is that Nagios report a host as "Down" when the host has not reported ...
-1
votes
1
answer
421
views
Website Monitoring of Tor Onion Services [closed]
How can I monitor the uptime of my website's tor hidden service endpoint so I get an immediate notification if it goes offline? Bonus points for fancy monthly/yearly uptime reports.
I'd like to make ...
0
votes
1
answer
90
views
Nagios alert to a file
Is there any way to store Nagios alert to a file.
We have a private network and Nagios is configured there to monitor 100+ servers. Since there is no mail server in this network default nagios alert ...
0
votes
1
answer
619
views
Nagios server is not detecting if client vm's are rebooted
I have configured nagios server and added 30+ physical servers and 25+ vm's. All the configuration has completed and nagios server is monitoring servers,vm's and services.
But when I am rebooting a vm,...
0
votes
1
answer
446
views
How to fetch and display Nagios service thresholds in Alert mails
I need to show the service threshold values (-w ARG1 and -c ARG2) for WARNING and CRITICAL state in the alert mail body.
Along with the SERVICESTATE and SERVICEOUTPUT mail recipients will get better ...
0
votes
1
answer
862
views
Not found error when accessing Nagios
I have followed this guide https://www.digitalocean.com/community/tutorials/how-to-install-nagios-4-and-monitor-your-servers-on-centos-7 in order to install nagios in my centos 7.8 system
installation ...
0
votes
0
answers
239
views
ssh tunnel from nagios to greenbone socket
i got 2 servers running. serverA is a monitoring solution check_mk. serverB is a vulnerability scanner with gvm20.08 (openVAS).
On my monitoring side i want to retrieve scans, tasks, targets etc. from ...
1
vote
1
answer
480
views
A check_nrpe command doesn't work from nagios server since debian upgrade
Yesterday I upgraded a server from Debian 9 to Debian 10. This server is supervised with nagios. Since the upgrade, I get an alert, status Unknown saying :
"Volumegroup array03-0 wasn't valid or ...
0
votes
0
answers
43
views
incorrect define of host/hostgroup/service
Good day. Recently, I tried to enable domain expiry check on my nagios core 4.1.1, but it seems like it won't work. I believe, i messed up with declaration of host/hostgroup/service. mine "domain....
1
vote
1
answer
87
views
What monitoring system should I use for offline network [closed]
I'm part of a sysadmin\DevOps team for for an application. Currently today we have about 25 - 40 vms running as different parts of the application in micro services on the
openshift container platform,...
0
votes
1
answer
2k
views
check_snmp plugin timedout icinga2
I am new to icinga, and at the moment I am trying to monitor a paloalto firewall running paOS 9.0 with OID 1.3.6.1.2.1.25.3.3.1.2.1 (hrProcessorLoad.1), but I have problems with the check_snmp plugin ...