posting log for rabbitMQ
"Non-optional macro 'service_win_service' used in argument '-s' is missing while executing command 'service-windows' for object 'winserver2008R2!RabbitMQ_SERVICE' " On Tue, Jun 9, 2015 at 12:58 PM, Tejas Gadaria <[email protected]> wrote: > Hi, > > I am using below configuration to monitor windows service through > "service_check", > > > > > > > > > > > > > > > > > > > *object CheckCommand "service" { import "plugin-check-command" > command = [ PluginDir + "/check_service" ] arguments = { "-s" = > "$service_name$" } vars.service_name = "RabbitMQ"}apply Service > "RabbitMQ" { import "generic-service" check_command = "service-windows" > assign where host.name <http://host.name> == NodeName}* > > I am able to add remote machine service in icinga dash board but service > shows "UNKOWN" also throwing below message as plug-in output, > > "Non-optional macro 'service_win_service' used in argument '-s' is missing > while executing command 'service-windows' for object > 'JIVVDPMGWAPP08.zeomega.loc!JTS_SERVICE' " > > Also when I am running same command in windows command prompt it is working, > > *check_service.exe -s RabbitMqSERVICE OK RUNNING | service=4;!4;!4;1;7* > > Is this a bug or configuration issue? > Need help on this > > Regards, > Tejas > >
_______________________________________________ icinga-users mailing list [email protected] https://lists.icinga.org/mailman/listinfo/icinga-users
