Search found 13 matches

by jsherrod
Thu Feb 10, 2011 3:28 pm
Forum: Nagios XI
Topic: Check NRPE - Windows AD Account Lockout
Replies: 8
Views: 1146

Re: Check NRPE - Windows AD Account Lockout

Thanks Tony, I will give this a try and let you know how I make out
by jsherrod
Thu Feb 10, 2011 1:01 pm
Forum: Nagios XI
Topic: Check NRPE - Windows AD Account Lockout
Replies: 8
Views: 1146

Re: Check NRPE - Windows AD Account Lockout

That is the correct date that you mentioned.

Thursday, May 27, 2010, 10:49:44 PM
by jsherrod
Thu Feb 10, 2011 9:53 am
Forum: Nagios XI
Topic: Check NRPE - Windows AD Account Lockout
Replies: 8
Views: 1146

Re: Check NRPE - Windows AD Account Lockout

ARG4 and ARG5 weren't being used. I removed that from my check. Right now I am running it from the command line to verify the check output. ./check_nrpe -H 192.168.104.237 -p 5666 -c checkEventLog -a file="Security" MaxWarn=1 MaxCrit=1 descriptions "filter=id=644 AND generated gt -5m&...
by jsherrod
Wed Feb 09, 2011 2:58 pm
Forum: Nagios XI
Topic: Check NRPE - Windows AD Account Lockout
Replies: 8
Views: 1146

Check NRPE - Windows AD Account Lockout

I am trying to set up a check using check_nrpe to look at the security log on a Windows server to notify me when an account is locked out. I would like to see the output from the command as the account name that is locked out. Right now it is only letting me know the number of occurrences. Can anyon...
by jsherrod
Thu Dec 09, 2010 3:06 pm
Forum: Nagios XI
Topic: Problems using check_nrpe
Replies: 12
Views: 1374

Re: Problems using check_nrpe

I'm not worried about the service having a graph. The check returns OK but it's actually in a critical state. And the service state is saying "no files found". That's the problem. The same exact command works fine from the command line. See output from being of post. This is the Service St...
by jsherrod
Thu Dec 09, 2010 12:23 pm
Forum: Nagios XI
Topic: Problems using check_nrpe
Replies: 12
Views: 1374

Re: Problems using check_nrpe

These 2 variations work from the command line: [root@b-nagios libexec]# ./check_nrpe -H 10.5.5.5 -c CheckFile2 -a 'path=c:\aw-test' pattern=aw-test.txt MaxCrit=1 filter+written=gt:46m aw-test.txt, aw-test.txt: 1 > critical|'aw-test.txt'=1;0;1; [root@b-nagios libexec]# ./check_nrpe -H 10.5.5.5 -c Che...
by jsherrod
Thu Dec 09, 2010 12:16 pm
Forum: Nagios XI
Topic: Problems using check_nrpe
Replies: 12
Views: 1374

Re: Problems using check_nrpe

The problem is that the check command works from the command line but when I created a service for it the check command doesn't return the correct status of the file. The performance data question was just the 0;0;0 vs. 0;0;1. When the check runs correctly from the command line I get 1;0;1. I just w...
by jsherrod
Thu Dec 09, 2010 10:02 am
Forum: Nagios XI
Topic: Problems using check_nrpe
Replies: 12
Views: 1374

Re: Problems using check_nrpe

Still not working, below are the variations I tried. $ARG1$ CheckFile2 $ARG2$ '-a path=c:\\aw-test pattern=aw-test.txt MaxCrit=1 filter+written=gt:46m' Current Status: UNKNOWN (for 0d 0h 0m 11s) Status Information: Unknown argument: -a path Performance Data: -----------------------------------------...
by jsherrod
Wed Dec 08, 2010 5:27 pm
Forum: Nagios XI
Topic: Problems using check_nrpe
Replies: 12
Views: 1374

Re: Problems using check_nrpe

I've tried a few different variations. Do I still need 2 back slashes? Can you give me an example? $USER1$/check_nrpe -H $HOSTADDRESS$ -t 30 -c $ARG1$ $ARG2$ This is what I currently have. Still doesn't work. $ARG1$ CheckFile2 $ARG2$ -a path='c:\aw-test pattern=aw-test.txt MaxCrit=1 filter+written=g...
by jsherrod
Wed Dec 08, 2010 11:43 am
Forum: Nagios XI
Topic: Problems using check_nrpe
Replies: 12
Views: 1374

Re: Problems using check_nrpe

I've added a picture of the check command. It is currently under 1 argument.