Code Monkey home page Code Monkey logo

monitoring-agent-scripts's Introduction

License: MIT

monitoring-agent-scripts

A selection of scripts for use with Monitoring Agent

check_script_via_monitoring_agent.pl by Example

To run the a script called check_application-list.ps1 stored on the monitoring host against a monitored remote host...

...via the command line:

./check_script_via_monitoring-agent.pl --template=application_whitelist --host=HostToCheck --port=9000 --username="test" --password="secret" --executable='C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe' --script=/lib/monitoring-plugins/remote-scripts/check_application_list.ps1 -- -command -

...via Naemon (Command and Service Definitions):

define command {
                command_name                          check_script_via_monitoring_agent
                command_line                          $USER2$/check_script_via_monitoring-agent.pl --template=application_whitelist --host=$HOSTADDRESS$ --port=9000 --username="test" --password="secret" --executable='C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe' --script=$ARG2$ -- -command -
}

define service {
                service_description                   Application Whitelist
                check_command                         check_script_via_monitoring_agent!application_whitelist!/lib/monitoring-plugins/remote-scripts/check_application_list.ps1
                hostgroup_name                        myServers
                use                                   Generic_ServiceTemplate
}

monitoring-agent-scripts's People

Contributors

infraweavers avatar

Watchers

 avatar  avatar

monitoring-agent-scripts's Issues

How to replace NSClient++?

Hi,
i have been watching your repositories for some time and from the commits at monitoring-agent i see that at least the agent is actively developed/maintained.
So i guess you are using it at least in your own company. What about the scripts you are using in order to replace the built-in features of NSClient++ like cpu, memory, services etc? Are you willing to make them public?
Gerhard

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.