NSClient++ Help (#1) - NSCA & external scripts (#339) - Message List

NSCA & external scripts

I'm trying to figure out how to configure and run passive checks from a Windows client using NSCA and scripts. Questions:

  • Can those scripts (.BAT, .EXE, etc.) output data which can be sent by NSClient using NSCA? If so, in what for do they need to output the data?

Thanks in advance for any help! Tim

  • Message #1015

    Yes... you can write scripts in pretty much any language which can be executed by windows. They work "the same" as on unix., ie. return code comes from exit status and the "messages" is standard out. Check the cripts folder for samples.

    And yes scripts are executed from the CheckExternalScripts module..

    MickeM

    • Message #1016

      Thank you for your quick reply. It would have helped had I installed the script folder...

      Tim

Subscriptions