Matching SVC in analysis.cfg
I try to monitor the MS service
MSSQL$MICROSOFT##SSEE
I tried
SVC MSSQL$MICROSOFT##SSEE startup=automatic status=started SVC MSSQL$MICROSOFT\#\#SSEE startup=automatic status=started SVC MSSQL$MICROSOFT..SSEE startup=automatic status=started SVC %MSSQL$MICROSOFT..SSEE startup=automatic status=started SVC %MSSQL$MICROSOFT\#\#SSEE startup=automatic status=started
Nothing worked yet.
The first gives: MSSQL$MICROSOFT: No matching service - want started/Any the last gives: %MSSQL$MICROSOFT\: No matching service - want started/Any on the svcs web page.
I'm using Xymon 4.3.9
Any help?
Regards,
Andreas Kunberger
--
Make sure you are using the exact SVC name you see in the SVCS column, and put everything in double-quotes
i.e.
SVC "MSSQLSERVER" status=started startup=automatic
NOTE: For some reason I always have to put "status" before "started" in the SVC line, else the check doesn't work right. Not sure why, but I do see that difference above.
Also, You can get tricked by looking at the Windows service name and not the SVCS column if a service has spaces in it. Xymon actually reports them with "_" replacing spaces, so make sure to either use those, or put things in quotes (I tend to just be on the safe side and get in the habit of using double quotes)
i.e. SVC "Microsoft SQL Server" status=started startup=automatic might not match, because BBWIN actually reports as "Microsoft_SQL_Server" instead
-----Original Message----- From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Andreas Kunberger Sent: Friday, November 16, 2012 9:34 AM To: xymon at xymon.com Subject: [Xymon] Matching SVC in analysis.cfg
I try to monitor the MS service
MSSQL$MICROSOFT##SSEE
I tried
SVC MSSQL$MICROSOFT##SSEE startup=automatic status=started SVC MSSQL$MICROSOFT\#\#SSEE startup=automatic status=started SVC MSSQL$MICROSOFT..SSEE startup=automatic status=started SVC %MSSQL$MICROSOFT..SSEE startup=automatic status=started SVC %MSSQL$MICROSOFT\#\#SSEE startup=automatic status=started
Nothing worked yet.
The first gives: MSSQL$MICROSOFT: No matching service - want started/Any the last gives: %MSSQL$MICROSOFT\: No matching service - want started/Any on the svcs web page.
I'm using Xymon 4.3.9
Any help?
Regards,
Andreas Kunberger
--
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
participants (2)
-
andreas.kunberger@itv-denkendorf.de
-
Tom.Moore@sas.com