Page 1 of 1

Nagios Plugins

Posted: Mon Jul 18, 2022 11:34 pm
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

Re: Nagios Plugins

Posted: Mon Jul 25, 2022 6:19 am
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.