Thanks for the suggestion. I ran netstat and did see a port associated with the
service. I did not have time to test and see if that the same port is assigned
every time. If so I could try that. I am curious as to why this one service
isn’t working though. I am wondering if it is because the executable contains
numerous words with periods in it.
Thanks again for the suggestion; I will try it on Monday when I get back in the
office.
--Hank
From: Joseph Spenner [mailto:joseph85...@yahoo.com]
Sent: Friday, September 14, 2012 2:22 PM
To: icinga-users@lists.sourceforge.net
Subject: Re: [icinga-users] Monitoring a custom service
_____
From: Hank Lambert <h...@hanklambert.com>
To: icinga-users@lists.sourceforge.net
Sent: Friday, September 14, 2012 8:26 AM
Subject: [icinga-users] Monitoring a custom service
>The service name is SVUtils, and the executable is "C:\Program Files
>(x86)\IPV\SVUtil >Service\Services.SVUtil.Hosts.WindowsService.exe".
>
>For my service definition, I have tried check_nt!SERVICESTATE! –d SHOWALL -l
>SVUtil with >quotes and without quotes. I have also tried check_nt!PROCSTATE!
>–d SHOWALL -l SVUtil and >check_nt!PROCSTATE! –d SHOWALL -l
>Services.SVUtil.Hosts.WindowsService.exe both with >and without quotes. The
>errors I get are either service is not running or service cannot be found. I
>restart >Icinga every time I make a change.
====
Does the service provide a tcp port? If so, I know it's not the solution you
are trying, but maybe simply checking for the tcp port from icinga would be a
solution.
If life gives you lemons, keep them-- because hey.. free lemons.
"~heart~ Sticker" fixer: http://microflush.org/stuff/stickers/heartFix.html
------------------------------------------------------------------------------
How fast is your code?
3 out of 4 devs don\\\'t know how their code performs in production.
Find out how slow your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219672;13503038;z?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users