Home Directory

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory

arigaud

Reviews(4)
byarigaud, November 27, 2017
1 of 1 people found this review helpful
Nice plugin ! But see my request on github https://github.com/lairsdragon/check_hp

Overall IML entries isn't found by default check

line 521 replaced by

if ($_[3] eq "cpqHeEventLogCondition") {
byarigaud, June 30, 2016
https://github.com/arigaud/nagios-plugins/blob/master/check_ad.vbs
byarigaud, October 8, 2015
1 of 1 people found this review helpful
check_emc_clariion.pl maintained by BuddhaBob74
Here is a new version.

Notes : Added a function to check exit value of commands (check_for_errors was useless).
# Added debug option to displaying navicli return.
# Added output option (nagios states, one line stdout for faults only)
# Added Timeout option, default is 10 sec.
byarigaud, July 18, 2014
Excellent ! Add check windows version, tested ont w2k, w2003, 2008, 7 (not in xp)

for /f "tokens=2 delims=[]" %%x in ('ver') do set cmdver=%%x
set cmdver=%cmdver:Version =%
for /f "tokens=1,2,3* delims=." %%g in ("%cmdver%") do (
set major=%%g
set minor=%%h
set build=%%i
)

rem Windows 3.1,95,95 OSR2,NT 4.0,98,98 SE,ME
IF %major% LEQ 4 goto ver_false
rem Windows 2000
echo %cmdver% | FINDSTR /C:"5.0" > nul
IF %ERRORLEVEL% EQU 0 goto ver_false

:ver_false
echo UNKNOWN: OS Version not supported [%cmdver%]
exit /b 3

heklp source : http://ss64.org/viewtopic.php?pid=3151#p3151