Search found 4 matches

by rootintootin
Mon Aug 02, 2021 10:00 am
Forum: Open Source Nagios Projects
Topic: NRPE analogue for NCPA
Replies: 1
Views: 986

NRPE analogue for NCPA

Is there a direct analogue to NRPE's host-defined command[COMMAND_NAME]= setup in NCPA? I'm really digging NCPA so far, especially for managing my Windows systems, but something that was really handy in NRPE is defining a somewhat generic service then modifying what specific command that service def...
by rootintootin
Tue Jun 16, 2020 11:33 am
Forum: Open Source Nagios Projects
Topic: Create alert when two VM hosts are online simultaneously
Replies: 3
Views: 1747

Re: Create alert when two VM hosts are online simultaneously

A final update/solution: Turns out SELinux was the culprit for /usr/bin/ping not working (shocker). Rather than bother trying to write some SELinux policy to allow the NRPE daemon to execute /usr/bin/ping I instead opted to use check_ping and just redirected the output to /dev/null. I initially trie...
by rootintootin
Tue Jun 16, 2020 8:58 am
Forum: Open Source Nagios Projects
Topic: Create alert when two VM hosts are online simultaneously
Replies: 3
Views: 1747

Re: Create alert when two VM hosts are online simultaneously

As an update I just wrote a bash script to be executed as an NRPE plugin that works at the command line but always returns the same value if run from check_nrpe. The script uses an initial if check with ping to assign binary values to whether or not a host is online then uses a second set of nested ...
by rootintootin
Mon Jun 15, 2020 10:39 am
Forum: Open Source Nagios Projects
Topic: Create alert when two VM hosts are online simultaneously
Replies: 3
Views: 1747

Create alert when two VM hosts are online simultaneously

TLDR: Trying to create some service or command that would alert if check_ping simultaneously returned a critical or OK on two different VMs running from two different hypervisors. Is this doable in Nagios? If so where should I start? I admin over a testbed environment where a single controller VM ha...