Windows equivalent for check_log.pl plugin to use with NCPA

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
SBhambri
Posts: 10
Joined: Sun Mar 29, 2020 9:34 pm

Windows equivalent for check_log.pl plugin to use with NCPA

Post by SBhambri »

Hi Everyone,

I have small query, what is equivalent plugin of check_log.pl (https://nagios-plugins.org/doc/man/check_log.html) for windows with NCPA agent installed? :?: Or in other words, plugin that in can use on my windows clients using NCPA to monitoring log files new lines for specific keywords. And possible use " OR |" and "AND &&" operators while specifying keywords in plugin commands.

Other options in plugin are to monitor log file size, permissions and if they exists (not deleted).

Thanks in Advance.

Regards,

SB
SteveBeauchemin
Posts: 524
Joined: Mon Oct 14, 2013 7:19 pm

Re: Windows equivalent for check_log.pl plugin to use with N

Post by SteveBeauchemin »

I use this on both Linux and Windows. It is perl and does everything I need.
https://labs.consol.de/nagios/check_logfiles/index.html

Steve B
XI 5.7.3 / Core 4.4.6 / NagVis 1.9.8 / LiveStatus 1.5.0p11 / RRDCached 1.7.0 / Redis 3.2.8 /
SNMPTT / Gearman 0.33-7 / Mod_Gearman 3.0.7 / NLS 2.0.8 / NNA 2.3.1 /
NSClient 0.5.0 / NRPE Solaris 3.2.1 Linux 3.2.1 HPUX 3.2.1
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Windows equivalent for check_log.pl plugin to use with N

Post by ssax »

Here's a version that I compiled for 64 bit:
check_logfiles64.zip
You do not have the required permissions to view the files attached to this post.
Locked