Questions tagged [nagios]
Nagios is a monitoring system that enables organizations to identify and resolve IT infrastructure problems before they affect critical business processes.
218
questions with no upvoted or accepted answers
0
votes
1
answer
386
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
167
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
2k
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
36
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
651
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 ...
0
votes
1
answer
84
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
0
answers
219
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 ...
0
votes
0
answers
42
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....
0
votes
0
answers
357
views
monitor CRL expiration dates for multiple nginx servers
Rephrased question: (Not sure it's really clearer)
I have a small self written script, that monitors multiple servers.
In fact my script just starts periodically tiny smalls scripts and gathers the ...
0
votes
1
answer
175
views
Remote monitoring by Nagios Core
I am working on a project using Nagios to monitor a controller that monitors gas leaks, temperature,... remotely.
How can a Nagios Core in one city communicate and receive supervision information ...
0
votes
1
answer
946
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,...
0
votes
1
answer
185
views
Creating memory check via nagios core
How to check memory and incoming/outgoing connections of host.
I have created memory usage i am getting error as below.
Name of service:Memory Usage
Status:UNKNOWN
Last Check:03-13-2020 04:05:45
...
0
votes
1
answer
309
views
Two nagios instances in the same machine
After days of surfing on the net and trying by myself, I urgently need your help.
So, I have Nagios Core 4.4.3 installed in my centos machine that I use to monitor PROD and TEST environnement of one ...
0
votes
1
answer
178
views
Nagios Core4.4.3 snmptrap
I followed the instructions at the link:
Snmptrap-config-ling
To configure Nagios Core 4.4.3 with snmptrap for a Sonicwall, and a Netapp, it works perfectly but I have a problem / error with:
When I ...
0
votes
1
answer
598
views
mk-livestatus No UNIX Socket Existing
I'm currently in the process of setting up NagVis, and one of the prerequisites is that mk-livestatus be up and running on your Nagios server.
This is proving difficult.
The website for check_mk ...
0
votes
0
answers
134
views
MySQL least privileges to get database/tables size
I'm using centreon_plugins to monitor some mysql databases. As a best practice I create a dedicated user for monitoring and I give it the least possible privileges.
For simple monitoring I usually ...
0
votes
1
answer
150
views
Nagios add "Contact group" name in the email alerts
I've been managing a nagios server which was setup by someone else. I found that there's a lot of contact groups configs and contacts_name. I'm trying to disable some of them since some alerts are ...
0
votes
1
answer
355
views
Monitor unix process with Nagios Core
I'm begginer with Nagios and i'm trying to monitor if a specific process on my unix machine is up or not.
Server and client are on the same machine : Trying to monitor that machine from a Nagios ...
0
votes
2
answers
455
views
Setting up exception for error in nagios
I am not sure if this is possible but I would like to set up exception where Nagios does not report on a few checks.
e.g. On one of our server, one of the ram component is broken and its been broken ...
0
votes
1
answer
64
views
Nagios dependancy of services on host state
please, how can i configure Nagios when a host get down, in order to get only one alert of host down and not receive the host's services alerts (the rest of alerts)?
0
votes
0
answers
61
views
Monitor long ongoing mysql queries
is there any plugin or possibility to check with nagios MySQL query, which is running longer than for example 1hour? So I get alerted and can manage it?
I use this code, but I am not sure how to ...
0
votes
1
answer
352
views
Nagios: Dependency from service to different host
We have a server "zibal" that is running several Selenium checks for websites on multiple hosts. At the moment, when one of the servers hosting a website goes down, the failing selenium check will ...
0
votes
0
answers
445
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
1
answer
23
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 ...
0
votes
0
answers
102
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
0
answers
168
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
1
answer
339
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
1
answer
943
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 ...
0
votes
1
answer
80
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
1
answer
987
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 ...
0
votes
1
answer
470
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
1
answer
563
views
Modify perfdata output of check_snmp_int.pl Nagios XI command
I'm on Nagios XI, i used the Vmware .ova to get the install done
I am using the command below to retrieve the actual bandwidth that go through the interfaces of a router
/usr/local/nagios/libexec/...
0
votes
1
answer
534
views
Need Critical alert for Particular Event id is not generated with in 24 hours
I am using CheckEventLog of NSClient++ 0.5.0.62 2016-09-14
how to use syntax for , if particular event id is not generated with in 24 hours i need critical alert , if event id generated i need ...
0
votes
1
answer
370
views
Monitor JMX with Nagios for space on name
We are trying to monitor JMX with Nagios XI and using check_jmx Plugin. Its working fine for Heap memory, thread count etc..We re facing issue on while using the following:
obj": "java.lang:type=...
0
votes
1
answer
129
views
Scheduling downtimes in Nagios - Disable/enable mail notifications (hosts/services)
I have 200 servers.What would be the best way to schedule downtimes?
I do not want to do it manually from the Nagios UI.
Example:
20 servers among the 200 are brought down on the 1st Monday of the ...
0
votes
2
answers
509
views
Node DOWN with services CRITICAL in Nagios 3.x
I would like to know if it is possible configure Nagios 3.4.3 in this way:
when a node is DOWN, its associated services will answer with not available (of course). However, in nagios web, selecting "...
0
votes
1
answer
549
views
nagios server not read proper exit code
hi my script is not showing proper exit code on server side.
SERVICENAME=`/etc/init.d/$NAME status| awk '{print $NF}' | sed 's/\.//g' | grep -i running | sed 's/\s//g'|tail -n 1`
if [ "${SERVICENAME}...
0
votes
1
answer
420
views
difference between snmpwalk and check_snmp_int
what is the difference between check_snmp_int and snmpwalk command to get the ifInOctects 1.3.6.1.2.1.2.2.1.10
my check_snmp_int gives wrong values for bandwith monitoring , ifInOctects and ...
0
votes
0
answers
163
views
Nagios php script to read iostat values
I'm working on a php script(nagios plugin) to read r/s,w/s,rMB/s,wMB/s,%util from the iostat command, e.g.
#iostat -xm sda
avg-cpu: %user %nice %system %iowait %steal %idle
1.05 0....
0
votes
0
answers
248
views
Trying to Monitor a Windows Server using Nagios over WAN
I am running Nagios from my LAN on a VM running Ubuntu Server. I am trying to monitor a Windows server located and via the Internet. I set up a public IP in my NAT which forwards to my Nagios server ...
0
votes
0
answers
452
views
Host availability report from nagios\icinga log file
Is there a way of analyzing and report-building from icinga\nagios log files?
I tried (avail.cgi) host availability reports but it works so slowly. I should wait 3-5 minutes if I want a week report ...
0
votes
1
answer
752
views
Set Nagios to alert if a threshold is exceeded over time?
I have a server with a memory value that I want to monitor. If the value is over a certain amount over the course of an hour, I'd like to have an alert sent, but until then I'd like to have it ignore ...
0
votes
0
answers
769
views
Nagios check_by_ssh returns status 3 even though running the command manually works?
Following virtualisation of a datacentre, I'm replacing an elderly internal-use-only Nagios server with a new one on a new VM. For simplicity and because we know it works I've simply replicated the ...
0
votes
1
answer
1k
views
How can I find a list of all monitored hosts in Nagios-XI after trial expiration
I setup Nagios-XI in a VM just to monitor a few mission-critical servers (so less than the limit of 7 hosts...or so I thought). However, apparently one of my coworkers added an 8th host at some point ...
0
votes
2
answers
384
views
bidirectional Bandwidth measurement snmp with remote office
Hello
I have a dedicated system for monitoring connected to the network in all remote offices. Our main/nagios server have connection to all.
I want to get the bidirectional Bandwidth measurement ...
0
votes
0
answers
622
views
Nagios plugin execution fails with Icinga 1.13 on CentOS 7.3.1611
Software Versions:
icinga-1.13.0-0.el7.centos.x86_64
nagios-plugins-all-2.0.3-3.el7.x86_64
CentOS 7.3.1611
[1484095979] error executing command '/check_ping': No such file or directory. Make sure ...
0
votes
1
answer
1k
views
Nagios doesn't execute external commands even though they are shown in the logs
I want to use SNMP traps and to do so I need the external nagios commands to be executed.
I already checked the config:
check_external_commands=1
command_check_interval=-1
The command file is ...
0
votes
1
answer
651
views
Debian nagios3 web interface don't display all services
Using debian packaged 3.5.1 nagios version, web interface page "Current Status" -> "Services" don't display all services: It only display one host. And sometimes, only two services for this host. If i ...
0
votes
1
answer
363
views
nagios -- different options for different contacts?
I have two sets of on-call people -- sysadmins and operators. I have nagios monitoring an SSH service. If the service goes down or comes back up, I want to notify the operators; they don't need ...
0
votes
1
answer
146
views
Monitor Group Policy eventlog
I want to monitor GPOs and check if the GPOs are applied on all stations of my Domain, by checking the presence of an ID with the name of GPO, and check if an error occured.
I want to monitor ...