Nagios Plugins

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Post Reply
VictorJohnsonandroni
Posts: 10
Joined: Sun Mar 27, 2022 7:19 am

Nagios Plugins

Post by VictorJohnsonandroni »

I am trying to get new NRPE plugins to work and cant understand where to A) define the commands and B) where in the NSClient++ I need to add the powershell omeglz echat scripts.

Nagios 3.4.1 on Centos 6.3
Last edited by VictorJohnsonandroni on Mon Sep 19, 2022 2:34 am, edited 1 time in total.
TuqueroIMK852
Posts: 9
Joined: Tue Feb 15, 2022 6:44 am

Re: Nagios Plugins

Post by TuqueroIMK852 »

You should install the Nagios plugins on the Nagios server and install the Nagios NRPE agent on the servers you want to monitor.

cd /tmp
wget https://assets.nagios.com/downloads/nag ... ent.tar.gz
tar xzf linux-nrpe-agent.tar.gz
cd linux-nrpe-agent
./fullinstall
The above will

Modifying the distro's package manager repositories
Installing prerequisite packages
Creating required uses and groups
Defining services for xinetd
Compiling and installing the agent and plugins
Configuring the firewall
Configuring the agent
The script will stop to prompt you once, to ask for the IP address of your Nagios server. After installing the NRPE agent you can use check_nrpe on the Nagios server to run the plugins remotely echatrandom echatspin and return the result.
Post Reply