Hi Team,
We have upgraded to the nsclient 0.4.3.1 from 0.3.9 as we wanted real time event log monitoring. we were using couple of external scripts like check_winfile & check_logfiles amongst others to perform few checks. After we have upgraded to 0.4.3.1 I don't see the section external scripts in the new nsclient.ini file, when I add them under external scripts/alias section the checks fail with a message saying the commands are not defined. Please let me know the settings to enable external script checks and also how we can perform real time event log monitoring. I did go through some posts in the forum and the documentation but it is very confusing.
NRPE module on NSClient++ 0.4.3.1
Re: NRPE module on NSClient++ 0.4.3.1
It may help to post your file so we can take a look at it.MSPk wrote:Hi Team,
We have upgraded to the nsclient 0.4.3.1 from 0.3.9 as we wanted real time event log monitoring. we were using couple of external scripts like check_winfile & check_logfiles amongst others to perform few checks. After we have upgraded to 0.4.3.1 I don't see the section external scripts in the new nsclient.ini file, when I add them under external scripts/alias section the checks fail with a message saying the commands are not defined. Please let me know the settings to enable external script checks and also how we can perform real time event log monitoring. I did go through some posts in the forum and the documentation but it is very confusing.
Here's a few clippings from mine:
Code: Select all
[/modules]
; NRPEServer - A server that listens for incoming NRPE connection and processes incoming requests.
NRPEServer = 1
; CheckExternalScripts - Execute external scripts
CheckExternalScripts = 1Code: Select all
[/settings/NRPE/server]
allow arguments = true
allow nasty characters = true
[/settings/external scripts]
allow nasty characters=true
Code: Select all
[/settings/external scripts/scripts]
delta_install = cmd /c echo scripts\check_windows_app_installs.ps1; exit($lastexitcode) | powershell.exe -command -Former Nagios Employee.
me.
me.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: NRPE module on NSClient++ 0.4.3.1
I have a guide here that explains how to create the ini file with all the default settings:MSPk wrote:After we have upgraded to 0.4.3.1 I don't see the section external scripts in the new nsclient.ini file, when I add them under external scripts/alias section the checks fail with a message saying the commands are not defined. Please let me know the settings to enable external script checks and also how we can perform real time event log monitoring.
http://sites.box293.com/nagios/guides/n ... t-ini-file
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.