Check remote process icinga2

Please read about the latest changes and upgrade.
Please note that your newly registered account needs to be manually activated by an admin. Just be patient, you cannot post to any forum before this happens. This is thanks to the unfortunate event of spammers recently. 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:


  • Thank you very much @Kevin.Honka.


    Can you brief on check command service-windows, procs-windows are these you custom scripts? And do you pass arguments for custom process checks?




    Thanks

  • 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

  • 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