Check remote process icinga2

This forum was archived to /woltlab and is now in read-only mode. Please register a new account on our new community platform.

You can create a thread on the new site and link to an archived thread. This archive is available as knowledge base, safe and secured.

More details here.
  • hi all, hope you are doing good.


    Want a quick guidance on monitoring custom remote process,. Previously with icinga1 we were doing this with nrpe plugin. Do we have any other way in icinga2 since checking through nrpe isnt adivisbible



    Below is the process I need to check if it is running on my remote system.


    Object CheckCommand "firefox" {
    Import "plugin-check-command"


    Command = [ pluginDir + /"check_procs"]


    arguments = {
    "-a" = " /usr/bin/Mozilla"


    }
    }

  • I did it with the director like this:


    Linux is dead, long live Linux


    Remember to NEVER EVER use git repositories in a productive environment if you CAN NOT control them

  • I use the checks that the icinga client for windows has.
    The only Argument I pass is the following:
    vars.service_win_service = "Dfs"


    I would strongly advise, using the director, as it makes everything much simpler

    Linux is dead, long live Linux


    Remember to NEVER EVER use git repositories in a productive environment if you CAN NOT control them

  • service-windows and procs-windows are CheckCommands provided by Icinga 2 already. The referenced plugins are installed by the Windows package too.


    https://docs.icinga.com/icinga…-commands#windows-plugins