Setup Yum alerts with NCPA agent

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
gdolidze
Posts: 154
Joined: Tue Apr 07, 2015 10:07 am

Setup Yum alerts with NCPA agent

Post by gdolidze »

Hello,

We setup NCPA agents on our new redhat/centos 7 machines.
We used to use nrpe for alerts and now we switched to NCPA
How do we setup the new agent to alert us for yum updates.
User avatar
pbroste
Posts: 1288
Joined: Tue Jun 01, 2021 1:27 pm

Re: Setup Yum alerts with NCPA agent

Post by pbroste »

Hello @gdolidze,

Thanks for reaching out, want to suggest checking out the plugins found in the Nagios Exchange.

To find more checks using NCPA, the easiest way is to access to Web GUI for NCPA and use the API.
https://www.nagios.org/ncpa/getting-sta ... ng-the-gui

Here is the help documentation, which has a lot of information on NCPA itself.
https://www.nagios.org/ncpa/help.php

Using Nagios plugins with NCPA is the best way to get the checks you want. Here's an example

Code: Select all

/usr/local/nagios/libexec/check_ncpa.py -H 192.168.x.x -t '<your token>' -M 'plugins/check_yum/<the_switches_here>'
Let us know how this goes!
Perry
Locked