Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
85 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 ...
DesignerJT's user avatar
0 votes
1 answer
370 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/...
LinServFaulter's user avatar
0 votes
1 answer
322 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/...
The Shurrican's user avatar
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 ...
Pedro's user avatar
  • 1
0 votes
1 answer
40 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 ...
Philippe's user avatar
-1 votes
1 answer
387 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 ...
Michael Altfield's user avatar
1 vote
1 answer
78 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,...
Noam Yizraeli's user avatar
0 votes
0 answers
369 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 ...
gelonida's user avatar
  • 279
0 votes
1 answer
188 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 ...
Vatoch Mr's user avatar
0 votes
1 answer
329 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 ...
nonely's user avatar
  • 3
0 votes
1 answer
459 views

Nagios - check procs and --metric=elapsed on the same service

After many days of working and searching onn the net, I'm getting back to you as a last chance for help. I'm working actually on monitoring unix process with nagios core 4.4.3 with nrpe . My goal is ...
nonely's user avatar
  • 3
1 vote
1 answer
95 views

Asserting on extended information from Nagios's check_mysql

I'm running the check_mysql plugin using NRPE on a remote DB-server, and while I can get satisfactory data on whether or not the server process is working as needed, I see that the plugin outputs a ...
Zalán Meggyesi's user avatar
0 votes
0 answers
142 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 ...
THe_ZiPMaN's user avatar
0 votes
1 answer
304 views

NAgios: add/import a list of host to ping, automatically?

I am searching for a way to automatically add a few hundreds of hosts to ping in Nagios. I guess there could be procedure or a file to fill with something like an /etc/hosts file to have Nagios to ...
dominix's user avatar
  • 456
0 votes
1 answer
115 views

Nagios3: Different CRITICAL color for certain host groups

My colleagues want a new host group to have more visibility and want the Critical status to be different color. This is defined in nagios3/stylesheets/status.css as statusBGCRITICAL but as I can't ...
Recct's user avatar
  • 370
0 votes
1 answer
371 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 ...
nonely's user avatar
  • 3
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 ...
Michael's user avatar
  • 365
1 vote
2 answers
890 views

How do I use Nagios to monitor a log file that generates a random ID

This the log file that I want to monitor: /test/James-2018-11-16_15215125111115-16.15.41.111-appserver0.log I want Nagios to read it this log file so I can monitor a specific string. The issue is ...
NewYearNewMe2020's user avatar
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 ...
Alexander Shcheblikin's user avatar
2 votes
1 answer
505 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 ...
emmdee's user avatar
  • 2,307
0 votes
1 answer
712 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 ...
John Virgolino's user avatar
0 votes
1 answer
122 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 ...
leeand00's user avatar
  • 4,929
1 vote
0 answers
883 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: ...
Munoz's user avatar
  • 11
0 votes
4 answers
980 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 } ...
Echo's user avatar
  • 103
2 votes
1 answer
1k 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 ...
Louise Hoffman's user avatar
-2 votes
1 answer
907 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 ...
Maniraj's user avatar
  • 101
1 vote
2 answers
3k 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....
FaxMax's user avatar
  • 165
1 vote
1 answer
4k 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 ...
Philip Kirkbride's user avatar
1 vote
1 answer
1k views

Use check-bind.sh to monitor DNS Server

I want to monitor two DNS Server with Nagios and Check the DNS performances. I have found a check_bind.sh plugin with Nagios in : https://exchange.nagios.org/directory/Plugins/Network-Protocols/DNS/...
MicaLyl's user avatar
  • 13
2 votes
1 answer
821 views

Nagios check_udp_ports returning critical: result to scheduled check, runs fine manually

We use a Nagios core 4.3.2 solution on Ubuntu 14.04 to do simple host check monitoring on remote client equipment. One type of device we use is not availible to ping, but as part of it's proprietary ...
HHMsig's user avatar
  • 21
1 vote
1 answer
1k views

Nagios check_mk with plugins

I'm working a company that has a Nagios monitoring server that was set up ages ago and there's no documents. It uses Check_MK and it seems it was installed using OMD. We want to install the following ...
Adonist's user avatar
  • 267
2 votes
0 answers
115 views

Make Nagios stack alarms when no connectivity to HP OVO

I'm implementing a small Nagios instance on a dedicated laptop to monitor some telcom devices. The alarms have to be sent via our customer's reporting tool (like HP OpenView) via SNMP Traps. Nothing ...
3isenHeim's user avatar
  • 121
0 votes
1 answer
430 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 ...
xxxx's user avatar
  • 1
0 votes
0 answers
456 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 ...
Andrey Maraev's user avatar
1 vote
2 answers
2k views

Nagios plugin not working from server but Locally

I have written a small bash script which checks whether docker service is functioning or not and it's quite fine when I test on client locally but somehow it's not working from nagios server which ...
amber mehra's user avatar
0 votes
2 answers
1k views

Nagios to count files in certain Directory

I am trying to monitor a directory on a server in which the amount of files can vary from day to day. This server itself is monitored fine on Nagios3. However, if I want to count the number of files ...
David Cummings's user avatar
2 votes
1 answer
4k views

Acknowledge/ignore a nagios alert for X min/hrs/days?

I have a Nagios service which has correctly noticed a problem. I am running a command on that machine that will fix that problem. However it will take a few hours to run. Until then it is still (...
Amandasaurus's user avatar
  • 32.5k
0 votes
2 answers
773 views

Monitoring snmp with Nagios

I'm using Nagios 4 and installed nagios plugins to. I wan't to monitor my HP switch CPU, MEM, etc via snmp, but I totally don't know how to do it. First of all, how do I get the right OID's and how to ...
Farago Bence's user avatar
1 vote
1 answer
1k views

Passive check is not updating the nagios site

The definition for the passive check seem to be corrected. I setup a cron job to run every 5 minutes and execute the script where the output is processed using: command_file=/var/spool/nagios/cmd/...
newBasher's user avatar
1 vote
1 answer
415 views

how to count the no. of passive checks sent using nsca?

I have Nagios/NSCA setup for a perl custom script that runs on the nagioshost. I have it configured like: echo "myhost;myservice;1;Message"|/usr/local/nagios/libexec/send_nsca -to 10 -d ';' -c /etc/...
Vishnu Kumar's user avatar
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 ...
Henricristo's user avatar
0 votes
2 answers
3k views

"Error: Could not complete SSL handshake. 5" in syslog of otherwise fine Nagios monitored host

I have a nagios server on ubuntu that monitors many other ubuntu servers. They have configured with chef, and they are correctly monitoring things over NRPE (i.e. the NRPE checks work. When something ...
Amandasaurus's user avatar
  • 32.5k
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 ...
Emmel's user avatar
  • 211
0 votes
1 answer
512 views

Icinga monitoring, random "Connection refused by host"

I have a Nagios/icinga monitoring system, which i use to monitor mainly Windows based machines running a version of NSClient++ that i found works without being too annoying (NSCP-0.4.1.105-x64). This ...
Snowflow's user avatar
1 vote
2 answers
775 views

Monitoring IBM server hardware without IMM port connection

We have a lot of IBM x86 servers that we need to monitor for hardware issues(disk failure/temperature/fans). Around 50% of them have IMM ports hooked up and we are able to monitor for SNMP traps using ...
Debianuser's user avatar
0 votes
0 answers
465 views

nagios custom script working locally, returns null in UI

I have a custom script that I've defined within my nagios command.cfg and service definitions. When run locally as nagios on the monitoring host, it returns the expected output (a large hash of stats ...
Ethan Shrago's user avatar
2 votes
1 answer
606 views

nrpe user cant properly execute script remotely using lsof, netstat works

I created a simple script for nagios to check a port on a remote server. Originally, I tried to use lsof. #!/bin/bash RESULT=$(lsof -i :8080 | grep LISTEN) if [ -n "$RESULT" ] then echo "$...
user53029's user avatar
  • 649
-2 votes
1 answer
63 views

Monitor servers in ESXi environment

I have my own environment on a ESXi host, so without access to the vCenter env. So I'm unable to setup nagios monitoring at first. In my environment I have different kind of servers: * Linux (Custom ...
BenCes's user avatar
  • 97
3 votes
1 answer
1k views

Nagios: exclude single contact from notifications

There is a number of services that notify a contact_group on state changes. Is it possible to exclude a single contact that belongs to this group from getting notifications? Prepending contact name ...
XNRL's user avatar
  • 65
2 votes
1 answer
715 views

Nagios plugin to monitor FreeSWITCH

I am trying to configure Nagios to monitor FreeSWITCH as mentioned at https://github.com/kjhosein/nagios-freeswitch-plugin . I have downloaded the script from git and followed listed steps. On ...
Rutu's user avatar
  • 21

1
2 3 4 5
7