Archive

Posts Tagged ‘nrpe_nt’

NRPE_NT Plugins

July 14th, 2009 No comments

There are quite a few nice nagios nrpe_nt plugins (vbs scripts) released by GroundWork, since 2006 they have
been working and improving these set of plugins.
Those scripts are very well written and they can be enhanced for your own platform.
I list here the functionality:

Read more…

Check FileAge Nagios Plugin

April 2nd, 2009 21 comments

Check_fileage.vbs is plugin for nagios that uses NRPE_NT and works for Microsoft machines.
I tried to make it as flexible as posible, allowing nagios to pass simple but helpfull arguments.
I use it to find out for example what was the last antivirus definition update, I set if its older then 7 days warn if it is older then 10 critical. Although antivirus update is a centralized automated everyday task, many times admins stop worrying about it or just don’t have the time to keep checking. Well again nagios is here to save us!
The purpose is to check how old the file is compare to today (checks by LastModified Date)
‘Example of my use: get Last Time Antivirus MCAfee Enterprise (Version 8.0i) was Updated

Read more…

Change the Service Account

November 25th, 2008 No comments
Well as I posted bellow about the bug in NRPE_NT, it result I will have to change all my Nagios Plugins service set to a different account,

Read more…

NRPE_NT bug

November 25th, 2008 No comments

Nagios NRPE_NT bug.
Well I wrote few scripts that are actually quite complex to run under Windows 2003 Servers,
some of them I start getting no output or just the first character output using NRPE_NT 0.8.0.2 or 8b.
It seems NRPE does not handle well the STDOUT using the LocalSystem account, I just set the service
“Nagios Remote PLugin Executor for NT/W2K” to run under another account with Administrator Permissions, and now it all works!
Wow that was scary, because I took me 3 days to write a script to get the Value of the Top Mailbox Sizes (Under Exchange 2003)
and it worked localy but not thru NRPE, well now the mistery is solved!

Problem:

NRPE_NT does not output correctly, just the first character
Solution:

Run the Nagios service under a specific Administrator account

Read more…