Sarah,

If running on a Windows server...  

I put together a VB.Net app that returns 'Running' or 'Stopped' (code
below).  Just pass in the service name (enclose in double-quotes for
names with embedded spaces.  You would likely run this on the server
where the email engine is installed but you could run it from another
computer if you have permissions on the other computer - just pass the
name of the server as the second parameter.

Example: ServiceStatus "Remedy Email Engine"
Example running on a computer other than where the email engine is
installed: ServiceStatus "Remedy Email Engine" RemedyDev

One way of implementing is to create an escalation that runs every ##
minutes.  The escalation would push a record to a command form.  A
filter on the command form would do a Set Fields $PROCESS$ and capture
the output.  The next filter would check the status of the service, and
if "Stopped" then perform some action.


' Add a reference to System.ServiceProcess.dll
Module Module1

    Sub Main(ByVal CmdLineArgs() As String)
        Try
            If CmdLineArgs Is Nothing OrElse CmdLineArgs.Length < 1
OrElse CmdLineArgs(0).ToString.Trim.Length = 0 Then
                Console.WriteLine("No service name passed.")
                Exit Try
            End If
            Dim ServiceName As String = CmdLineArgs(0).ToString.Trim
            Dim MachineName As String = "."
            If CmdLineArgs.Length > 1 Then MachineName =
CmdLineArgs(1).ToString.Trim
            Dim SC As New
System.ServiceProcess.ServiceController(ServiceName, MachineName)
            Console.WriteLine(SC.Status.ToString)
        Catch ex As Exception
            Console.WriteLine("Error: " & ex.Message)
        End Try
        End
    End Sub

End Module


Stephen 

-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Sarah Lake
Sent: Wednesday, August 02, 2006 1:27 PM
To: [email protected]
Subject: Customer Support Users

Hi Listners,

I have two questions to ask. 

1. Has anyone developed a workflow via remedy or some other program
which can check if remedy email engine is running? And if it is down it
should notify remedy admin. 

2. Is anyone using email to update activity for issue in customer
support module?  Has anyone customized notification within remedy
workflow. 
When activity is updated via remedy application services, notify
Assigned person about the update. 
Any ideas how to accomplish this? 


Thanks  

 

________________________________________________________________________
_______
UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org

Reply via email to