Check_filesize


#1

hi all, i’m trying to run check_filesize.vbs in order to monitor file size. if i run locally on the client run like a charm. if i try to run trought nrpe i receive a lot of alerts… this is my nsclient.ini # If you want to fill this file with all available options run the following command:

nscp settings --generate --add-defaults --load-all

If you want to activate a module and bring in all its options use:

nscp settings --activate-module --add-defaults

For details run: nscp settings --help

; in flight - TODO [/settings/default]

; Undocumented key password = password

; Undocumented key allowed hosts = 10.148.174.232

; in flight - TODO [/settings/NRPE/server]

; Undocumented key insecure = true

; Undocumented key verify mode = none

; in flight - TODO [/modules]

; Undocumented key CheckExternalScripts = 1

; Undocumented key CheckNSCP = 1

; Undocumented key CheckEventLog = 1

; Undocumented key CheckDisk = 1

; Undocumented key CheckSystem = 1

; Undocumented key CheckHelpers = 1

; Undocumented key WEBServer = enabled

; Undocumented key NSClientServer = enabled

; Undocumented key NSCAClient = enabled

; Undocumented key NRPEServer = enabled

allow arguments = 1 allow nasty characters = true

[/settings/external scripts/wrappings] vbs=cscript.exe //T:30 //NoLogo %SCRIPT% %ARG1% %ARG2% %ARG3% %ARG4%

[/settings/external scripts/wrapped scripts] check_filesize=scripts\check_filesize.vbs

this is the run on the client

thanks in advance for any hint… Cheers Fabio