Download Windows Plugins
[/modules]
CheckDisk = 1
CheckEventLog = 1
CheckExternalScripts = 1
CheckHelpers = 1
CheckNSCP = 1
CheckSystem = 1
CheckTaskSched = 1
NRPEServer = 1
NSCAClient = 1
NSClientServer = 1
[/settings/default]
allowed hosts = X.X.X.X
[/settings/NRPE/server]
allow arguments = true
allow nasty characters=1
allowed ciphers = ALL
ssl options = no-sslv2,no-sslv3
verify mode = none
insecure = false
[/settings/external scripts/server]
allow arguments = true
[/settings/external scripts]
allow arguments = true
allow nasty characters=1
[/settings/external scripts/wrapped scripts]
check_updates=check_windows_updates.ps1 $ARG1$
check_ad_account=lotp_check_ad_accounts.ps1 $ARG1$ $ARG2$ $ARG3$ $ARG4$ $ARG5$
[/settings/external scripts/scripts]
directory_file_count = c:\windows\system32\cscript.exe //NoLogo //T:30 C:\Programme\nsclient++\scripts\directory_file_count.wsf "$ARG1$" $ARG2$ $ARG3$
check_users=scripts\check_users.exe -n -w $ARG1$ -c $ARG2$
check_win_perfmon=scripts\check_win_perfmon.exe -f scripts/$ARG1$
check_time=cscript.exe /T:30 /NoLogo scripts\check_time.vbs 131.188.3.221,131.188.3.222,131.188.3.223 20 240
check_ad=cscript.exe //NoLogo //T:60 "C:\Program Files\NSClient++\scripts\check_active_directory.vbs"
[/settings/external scripts/alias]
; alias_cpu - Alias for alias_cpu. To configure this item add a section called: /settings/external scripts/alias/alias_cpu
alias_cpu = checkCPU warn=$ARG1$ crit=$ARG2$ time=5m time=1m time=30s
alias_disk = CheckDriveSize MaxWarn=$ARG1$ MaxCrit=$ARG2$ Drive=C: FilterType=FIXED
alias_process = checkProcState ShowAll "$ARG1$=started"
alias_service = checkServiceState ShowAll "$ARG1$=started"
alias_up = checkUpTime MinWarn=1d MinWarn=1h
alias_counter = CheckCounter "Counter:$ARG1$=$ARG2$" ShowAll MaxWarn=$ARG3$ MaxCrit=$ARG4$
alias_event_log = CheckEventLog file=system MaxWarn=1 MaxCrit=2 "filter=generated>-24h AND severity='error' AND NOT (id='36887' OR id='36882' OR id ='36888')" unique descriptions "syntax=%severity%: %source%"
;alias_event_sys = CheckEventLog file=system MaxWarn=1 MaxCrit=1 "filter=(generated gt -2h) AND (type IN ('1', '0'))" truncate=800 unique descriptions "syntax=%severity%: %generated%: %source%: %message% (%count%)"
alias_event_security = CheckEventLog file=security MaxWarn=2 MaxCrit=3 "filter=generated>-3d AND id='4625'" unique descriptions "syntax=%id%: %source%"
;\\DC\Netzwerkschnittstelle(Intel[R] PRO_1000 MT Network Connection)\Gesamtanzahl Bytes/s
;alias_updates = check_updates -warning 0 -critical 0
;alias_cpu_ex = checkCPU warn=$ARG1$ crit=$ARG2$ time=5m time=1m time=30s
;alias_disk_loose = CheckDriveSize MinWarn=10% MinCrit=5% CheckAll FilterType=FIXED ignore-unreadable
alias_file_age = checkFile2 filter=out "file=$ARG1$" filter-written=>1d MaxWarn=1 MaxCrit=1 "syntax=%filename% %write%"
alias_file_size = CheckFiles "filter=size > $ARG2$" "path=$ARG1$" MaxWarn=1 MaxCrit=1 "syntax=%filename% %size%" max-dir-depth=10
alias_mem = checkMem MaxWarn=$ARG1$ MaxCrit=$ARG2$ ShowAll=long type=physical type=virtual type=paged type=page
;alias_process_count = checkProcState MaxWarnCount=$ARG2$ MaxCritCount=$ARG3$ "$ARG1$=started"
;alias_process_hung = checkProcState MaxWarnCount=1 MaxCritCount=1 "$ARG1$=hung"
;alias_process_stopped = checkProcState "$ARG1$=stopped"
;alias_sched_all = CheckTaskSched "filter=exit_code ne 0" "syntax=%title%: %exit_code%" warn=>0
;alias_sched_long = CheckTaskSched "filter=status = 'running' AND most_recent_run_time < -$ARG1$" "syntax=%title% (%most_recent_run_time%)" warn=>0
;alias_sched_task = CheckTaskSched "filter=title eq '$ARG1$' AND exit_code ne 0" "syntax=%title% (%most_recent_run_time%)" warn=>0
;alias_service = checkServiceState CheckAll
;alias_service_ex = checkServiceState CheckAll "exclude=Net Driver HPZ12" "exclude=Pml Driver HPZ12" exclude=stisvc
;alias_volumes = CheckDriveSize MinWarn=10% MinCrit=5% CheckAll=volumes FilterType=FIXED
;alias_volumes_loose = CheckDriveSize MinWarn=10% MinCrit=5% CheckAll=volumes FilterType=FIXED ignore-unreadable
;##############
sys = CheckEventLog file=system MaxWarn=1 MaxCrit=1 "filter=(generated gt -6000m) AND (severity NOT IN ('success', 'informational', 'warning'))" truncate=800 unique descriptions "syntax=%severity%: %type%: %generated%: %source%: %message% (%count%)"
; geht sys=CheckEventLog file=system MaxWarn=1 MaxCrit=1 "filter=(generated gt -3d) AND (severity NOT IN ('success', 'informational', 'warning'))" truncate=800 unique descriptions "syntax=%severity%: %type%: %generated%: %source%: %message% (%count%)"
event_app = CheckEventLog file=application MaxWarn=1 MaxCrit=1 "filter=(generated gt -$ARG1$) AND (type IN ('1', '0')) AND (severity NOT IN ('success', 'informational', 'warning'))" truncate=800 unique descriptions "syntax=%source%: (%count%)"
event_sys = CheckEventLog file=system MaxWarn=1 MaxCrit=1 "filter=(generated gt -$ARG1$) AND (type IN ('1', '0')) AND (severity NOT IN ('success', 'informational', 'warning'))" truncate=800 unique descriptions "syntax=%source%: (%count%)"
event_sev = CheckEventLog file="Symantec Enterprise Vault" MaxWarn=1 MaxCrit=1 "filter=(generated gt -$ARG1$) AND (type IN ('1', '0')) AND (severity NOT IN ('success', 'informational', 'warning'))" truncate=800 unique descriptions "syntax=%source%: (%count%)"
eventlog_error = CheckEventLog file=system file=application file="Symantec Enterprise Vault" MaxWarn=1 MaxCrit=1 "filter=(generated gt -$ARG1$) AND (type IN ('1', '0')) AND (severity NOT IN ('success', 'informational', 'warning'))" truncate=800 unique descriptions "syntax=%source%: (%count%)"
event_sec = CheckEventLog file=security MaxWarn=1 MaxCrit=1 "filter=(generated gt -6m) AND (type IN ('1', '0')) AND (severity NOT IN ('success', 'informational', 'warning'))" truncate=800 unique descriptions "syntax=%generated%: %severity%: %source%: (%count%)"
sys-info = CheckEventLog file=system MaxWarn=1 MaxCrit=1 "filter=(generated gt -1d) AND (type IN ('error', 'critical'))" truncate=800 unique descriptions "syntax=%severity%: %generated%: %source%: %message% (%count%)"
system_error = CheckEventLog file=system MaxWarn=1 MaxCrit=1 "filter=(generated gt -6m) AND (type IN ('1', '0')) AND (severity NOT IN ('success', 'informational', 'warning'))" truncate=800 unique descriptions "syntax=%generated%: %type%: %severity%: %source%: %message% (%count%)"
;CheckEventLog debug=true file=Anwendung MaxWarn=1 MaxCrit=1 "filter=generated gt -1h AND type = 'info'" truncate=800 unique descriptions "syntax=%generated%: (%count%)
;Test MMS:
evt_app_err = CheckEventLog file=Anwendung MaxWarn=1 MaxCrit=1 "filter=(generated gt -15m) AND (type IN ('1', '0')) AND (severity NOT IN ('success', 'informational', 'warning'))" truncate=800 unique descriptions "syntax=%severity%: %generated%: %source%: %message% (%count%)"
evt_sys_err = CheckEventLog file=System MaxWarn=1 MaxCrit=1 "filter=(generated gt -15m) AND (type IN ('1', '0')) AND (severity NOT IN ('success', 'informational', 'warning'))" truncate=800 unique descriptions "syntax=%severity%: %generated%: %source%: %message% (%count%)"
evt_sec_err = CheckEventLog file=Sicherheit MaxWarn=1 MaxCrit=1 "filter=(generated gt -15m) AND (type IN ('1', '0')) AND (severity NOT IN ('success', 'informational', 'warning'))" truncate=800 unique descriptions "syntax=%severity%: %generated%: %source%: %message% (%count%)"
evt_err=CheckEventLog file='$ARG1$' MaxWarn=1 MaxCrit=1 "filter=(generated gt -15m) AND (type IN ('1', '0')) AND (severity NOT IN ('success', 'informational', 'warning'))" truncate=800 unique descriptions "syntax=%severity%: %generated%: %source%: %message% (%count%)"
evt=CheckEventLog file=application MaxWarn=1 MaxCrit=1 "filter=(generated gt -15m) AND (type IN ('1', '0')) AND (severity NOT IN ('success', 'informational', 'warning'))" truncate=800 unique descriptions "syntax=%severity%: %generated%: %source%: %message% (%count%)"
evt_hw_err = CheckEventLog file=Hardware-Ereignisse MaxWarn=1 MaxCrit=1 "filter=(generated gt -15m) AND (type IN ('1', '0')) AND (severity NOT IN ('success', 'informational', 'warning'))" truncate=800 unique descriptions "syntax=%severity%: %generated%: %source%: %message% (%count%)"
evt_OD_err = CheckEventLog "file=Microsoft Office Diagnostics" MaxWarn=1 MaxCrit=1 "filter=(generated gt -15m) AND (type IN ('1', '0')) AND (severity NOT IN ('success', 'informational', 'warning'))" truncate=800 unique descriptions "syntax=%severity%: %generated%: %source%: %message% (%count%)"
evt_OS_err = CheckEventLog "file=Microsoft Office Sessions" MaxWarn=1 MaxCrit=1 "filter=(generated gt -15m) AND (type IN ('1', '0')) AND (severity NOT IN ('success', 'informational', 'warning'))" truncate=800 unique descriptions "syntax=%severity%: %generated%: %source%: %message% (%count%)"
evt_source = CheckEventLog file=application MaxWarn=1 MaxCrit=1 "filter=(generated gt -6m) AND "filter=id = 1008"" truncate=800 unique descriptions "syntax=%severity%: %generated%: %source%: %message% (%count%)"
evt_d = CheckEventLog file=Anwendung MaxWarn=1 MaxCrit=2 "filter=(generated gt -1d) AND (id = '1003')" truncate=800 unique descriptions "syntax=%generated%: %source%: (%count%)"
evt = CheckEventLog file=application debug=true MaxWarn=1 MaxCrit=1 "filter=(generated gt -50m) AND (source = 'SideBySide')" truncate=800 unique descriptions "syntax=%source%: (%count%)"
evt-a = CheckEventLog file=application debug=true MaxWarn=1 MaxCrit=1 "filter=(generated gt -50m) AND (source = 'SideBySide')" truncate=800 unique descriptions "syntax=%source%: (%count%)"
evtid = CheckEventLog file=application debug=true MaxWarn=1 MaxCrit=1 "filter=(generated gt -50m) AND (source = 'SideBySide') AND (id = 33)" truncate=800 unique descriptions "syntax=%source%: (%count%)"
evt-s = CheckEventLog file='$ARG1$' debug=true MaxWarn=1 MaxCrit=1 "filter=(generated gt -$ARG3$m) AND (source = '$ARG2$')" truncate=800 unique descriptions "syntax=%source%: %message% (%count%)"
evt-id = CheckEventLog file='$ARG1$' debug=true MaxWarn=1 MaxCrit=1 "filter=(generated gt -$ARG3$m) AND (id = $ARG2$)" truncate=800 unique descriptions "syntax=%source%: %message% (%count%)"
evt-s-id = CheckEventLog file='$ARG1$' debug=true MaxWarn=1 MaxCrit=1 "filter=(generated gt -$ARG4$m) AND (source = '$ARG2$') AND (id = $ARG3$)" truncate=800 unique descriptions "syntax=%source%: %message% (%count%)"
;Performance über CheckCounter
perfcounter = CheckCounter "$ARG1$" ShowAll MaxWarn=$ARG2$ MaxCrit=$ARG3$
proc2 = CheckCounter "$ARG1$" ShowAll MaxWarn=$ARG2$ MaxCrit=$ARG3$
proc = CheckCounter "Counter:proc=\Prozessor(_Total)\Prozessorzeit (%)" ShowAll MaxWarn=5 MaxCrit=10
proc0 = CheckCounter "Counter:proc=\Prozessor(0)\Prozessorzeit (%)" ShowAll MaxWarn=5 MaxCrit=10
proc1 = CheckCounter "Counter:proc=\Prozessor(1)\Prozessorzeit (%)" ShowAll MaxWarn=5 MaxCrit=10
mem=CheckCounter "Counter:Speicher verfuegbare MB=\Arbeitsspeicher\Verfügbare MB" ShowAll MinWarn=20 MinCrit=10
phys = CheckCounter "Counter:phys=\Physikalischer Datenträger(_Total)\Zeit (%)" ShowAll MaxWarn=5 MaxCrit=10
multi = CheckMultiple command=checkCPU warn=80 crit=90 time=5m time=1m time=30s command=CheckMeM MaxWarn=80% MaxCrit=90% command=CheckDriveSize MinWarn=10% MinCrit=5% CheckAll FilterType=FIXED
multi1 = CheckMultiple command=CheckCounter "Counter:proc=\Prozessor(_Total)\Prozessorzeit (%)" ShowAll MaxWarn=95 MaxCrit=98 command=CheckCounter "Counter:proc0=\Prozessor(0)\Prozessorzeit (%)" ShowAll MaxWarn=85 MaxCrit=95 command=CheckCounter "Counter:proc1=\Prozessor(1)\Prozessorzeit (%)" ShowAll MaxWarn=85 MaxCrit=95
;Drivesize absolut
disk_absolute_free = CheckDriveSize ShowAll MinWarnFree=$ARG1$ MinCritFree=$ARG2$ Drive=$ARG3$
disk_absolute_Used = CheckDriveSize ShowAll MaxWarnUsed=$ARG1$ MaxCritUsed=$ARG2$ Drive=$ARG3$
disk_absolute = CheckDriveSize $ARG1$ $ARG2$ $ARG3$ $ARG4$
;TaskSched
TaskSched1 = CheckTaskSched +filter-exit-code==0 ShowAll MaxWarn=0 MaxCrit=0
; '\Processor(_Total)\% User Time'=0;20;10; '\Processor(0)\% User Time'=0;20;10; '\Processor(1)\% User
CounterMax = CheckCounter "Counter:$ARG1$=$ARG2$" ShowAll MaxWarn=$ARG3$ MaxCrit=$ARG4$
CounterMin = CheckCounter "Counter:$ARG1$=$ARG2$" ShowAll MinWarn=$ARG3$ MinCrit=$ARG4$
; Verzeichnisgroesse:
dir-a = CheckFileSize ShowAll MaxWarn=1024M MaxCrit=4096M File:DIR-A=c:\WINDOWS\*.*
;Dateiattribute
pagefile = CheckFileSize ShowAll MinWarn=800M MinCrit=512M File:Page=c:\pagefile.sys
fileage = CheckFiles path=C:\TMP pattern=*.* "filter=creation > -1d and line_count < 100" "syntax=%filename%: %size% %line_count% %creation% %access%" MaxWarn=1 MaxCrit=1
fa-nsc = CheckFiles path=C:\Programme\NSClient++ pattern=nsclient.ini "filter=access < 1d" "syntax=%filename%: %size% %line_count% %creation% %access% %write%" MaxWarn=1 MaxCrit=1
;##################################
default =