nagiosxi plugin to monitor file content

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
apteancloud
Posts: 47
Joined: Wed Sep 09, 2020 4:05 am

nagiosxi plugin to monitor file content

Post by apteancloud »

Hi Team,

We have a requirement on one of our Windows machines to Monitor Text/log files for specific content in the file and give output.

Basically, we will get an output file(consisting of numeric values 0,1,2,3) from one of the job scripts in .txt format and we have planned to monitor the file based on it, such that
0 = Ok
1 = Warning
2 = Critical

Could you guys please suggest which plugin suits the above requirement on Windows machine with NSclient++ agent :)

Thanks in Advance
User avatar
pbroste
Posts: 1288
Joined: Tue Jun 01, 2021 1:27 pm

Re: nagiosxi plugin to monitor file content

Post by pbroste »

Hello @apteancloud

Thanks for reaching out, found the following plugin from the plugin exchange:

https://exchange.nagios.org/directory/P ... ch/details

Please use the following as a guide to use with NSClient++:

https://support.nagios.com/kb/article.php?id=528

Thanks,
Perry
Locked