Search found 27 matches

by greyclear
Wed Apr 01, 2015 12:12 pm
Forum: Open Source Nagios Projects
Topic: check_esxi_hardware.py
Replies: 4
Views: 1538

Re: check_esxi_hardware.py

Nah you can close thanks
by greyclear
Wed Apr 01, 2015 12:11 pm
Forum: Open Source Nagios Projects
Topic: Looking for a file check script
Replies: 13
Views: 4652

Re: Looking for a file check script

Yep you can thanks!
by greyclear
Wed Apr 01, 2015 10:46 am
Forum: Open Source Nagios Projects
Topic: Looking for a file check script
Replies: 13
Views: 4652

Re: Looking for a file check script

I figured out what the error was. Just added

[/settings/NRPE/server]
allow nasty characters=true

[/settings/external scripts]
allow nasty characters=true
by greyclear
Wed Apr 01, 2015 8:34 am
Forum: Open Source Nagios Projects
Topic: Looking for a file check script
Replies: 13
Views: 4652

Re: Looking for a file check script

I hate to distract from the great solutions already provided, however NSClient++ has this functionality built in, no need for extra scripts. From my website http://sites.box293.com/nagios/guides/common-checks/files-folders Make Sure Files Exists That Were Modified In The Last Two Hours Check a fold...
by greyclear
Wed Apr 01, 2015 7:23 am
Forum: Open Source Nagios Projects
Topic: Looking for a file check script
Replies: 13
Views: 4652

Re: Looking for a file check script

jdalrymple wrote:[/settings/external scripts/scripts] section ... you may have to add it.

You may have issues with those arguments too, did you try them from the command line? I didn't dig into the VBS, but it seemed to expect 4 ARGs
Ill look into this and see.
by greyclear
Tue Mar 31, 2015 3:13 pm
Forum: Open Source Nagios Projects
Topic: Looking for a file check script
Replies: 13
Views: 4652

Re: Looking for a file check script

Yep its installed. Just to test, if I am doing it right ./check_nrpe -H crep7 -c check_MostRecentFile -a C:\Sharepoint Reports\running\Reportrun.pdf 1440 No handler for command: check_mostrecentfile # If you want to fill this file with all avalible options run the following command: # nscp settings ...
by greyclear
Tue Mar 31, 2015 2:19 pm
Forum: Open Source Nagios Projects
Topic: Looking for a file check script
Replies: 13
Views: 4652

Re: Looking for a file check script

Specific file but I suppose I could move it to a folder of its own. How do I setup the command for this so that it executes cscript on the server?
by greyclear
Tue Mar 31, 2015 1:06 pm
Forum: Open Source Nagios Projects
Topic: Looking for a file check script
Replies: 13
Views: 4652

Re: Looking for a file check script

The file on said system will be windows.
by greyclear
Tue Mar 31, 2015 10:09 am
Forum: Open Source Nagios Projects
Topic: Looking for a file check script
Replies: 13
Views: 4652

Looking for a file check script

Having a hard time wraping my head around some of the file checking scripts I have found for example I seen this http://exchange.nagios.org/directory/Plugins/Operating-Systems/Windows-NRPE/check_MostRecentFile/details and I want to basically check one particular file for its age. If the time stamp d...
by greyclear
Wed Mar 25, 2015 11:11 am
Forum: Open Source Nagios Projects
Topic: check_esxi_hardware.py
Replies: 4
Views: 1538

Re: check_esxi_hardware.py

grr okay thanks