Infrastructure Map Server Forum
Welcome to Autodesk’s Infrastructure Map Server Forums. Share your knowledge, ask questions, and explore popular Infrastructure Map Server topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to catch MapGuide server errors and send them to admin?

3 REPLIES 3
Reply
Message 1 of 4
Anonymous
244 Views, 3 Replies

How to catch MapGuide server errors and send them to admin?

Anyone had experience in catching and tracking MapGuide server errors,
especially those servere errors that may cause MapGuide server not running,
and send them to administrators via email for actions?

Similarly required for catching critical LiteView errors, such as an error
that causes the service not running. I know we can catch coldfusion errors
from cfm pages and send them to admin, but that doesn't help for MapGuide
server or LiteView, right?

Any suggestions or tips will be much appreciated.

Meng Li

From City of Vancouver
3 REPLIES 3
Message 2 of 4
Anonymous
in reply to: Anonymous

On Fri, 24 Oct 2003 15:32:21 -0700, in autodesk.mapguide.developer
"Meng Li" wrote:

> Anyone had experience in catching and tracking MapGuide server errors,
> especially those servere errors that may cause MapGuide server not running,
> and send them to administrators via email for actions?

As far as I have seen, there is no native way of doing this in
MapGuide. However, if the services are actually failing (in a way
that Windows is aware of) then you can set up notification through the
Services control panel item.

Select the MapGuide (or JRun or whatever) service, right click, choose
Properties, and then click on the Recovery tab. There, you have the
option to run a file when the service stops. You can send an email
from this file, do a NET SEND, and/or restart the service (NET START)
Here's a pretty clear example of how to send the email using Windows
scripting: http://www.paulsadowski.com/WSH/cdo.htm There are also a
number of free utilities that could accomplish the same.

If you're seeing specific errors in the event log associated with
these errors, then you could set up some kind of event log monitoring.
SQL Server has the ability to do this internally, and there are quite
a few commercial event log monitors out there.

Jason
Message 3 of 4
Anonymous
in reply to: Anonymous

Hi Jason,

I can recommend this "cheap" software, it's very reliable and has worked
fine for us for more than a year in production.
http://www.ks-soft.net/hostmon.eng/index.htm

It can check your webserver, webpages, files on the disk, diskusage, windows
services etc.
It can notify you via email, pager, sms, wap etc.
It can execute any program or restart services at any event I can think of,
pretty much all-around software.

If you use .NET then you can easily do a windows service monitor yourself,
just a few lines of code to email yourself if a service goes down and
automatically restart it. There are much information on the net, use Google.

Best regards,
Jocke

"Jason Birch" wrote in message
news:vc4ppvgmmipantan3rldsh47cg75hpa1mc@4ax.com...
> On Fri, 24 Oct 2003 15:32:21 -0700, in autodesk.mapguide.developer
> "Meng Li" wrote:
>
> > Anyone had experience in catching and tracking MapGuide server errors,
> > especially those servere errors that may cause MapGuide server not
running,
> > and send them to administrators via email for actions?
>
> As far as I have seen, there is no native way of doing this in
> MapGuide. However, if the services are actually failing (in a way
> that Windows is aware of) then you can set up notification through the
> Services control panel item.
>
> Select the MapGuide (or JRun or whatever) service, right click, choose
> Properties, and then click on the Recovery tab. There, you have the
> option to run a file when the service stops. You can send an email
> from this file, do a NET SEND, and/or restart the service (NET START)
> Here's a pretty clear example of how to send the email using Windows
> scripting: http://www.paulsadowski.com/WSH/cdo.htm There are also a
> number of free utilities that could accomplish the same.
>
> If you're seeing specific errors in the event log associated with
> these errors, then you could set up some kind of event log monitoring.
> SQL Server has the ability to do this internally, and there are quite
> a few commercial event log monitors out there.
>
> Jason
>
Message 4 of 4
Anonymous
in reply to: Anonymous

Thank you very much Jason and Joakim. It's quite useful info to me and i
will look at the options you suggested.

Thanks again.

Meng

"Joakim Rylander" wrote in message
news:CB40B58EDD356B0E7A282D5B44853A1B@in.WebX.maYIadrTaRb...
> Hi Jason,
>
> I can recommend this "cheap" software, it's very reliable and has worked
> fine for us for more than a year in production.
> http://www.ks-soft.net/hostmon.eng/index.htm
>
> It can check your webserver, webpages, files on the disk, diskusage,
windows
> services etc.
> It can notify you via email, pager, sms, wap etc.
> It can execute any program or restart services at any event I can think
of,
> pretty much all-around software.
>
> If you use .NET then you can easily do a windows service monitor yourself,
> just a few lines of code to email yourself if a service goes down and
> automatically restart it. There are much information on the net, use
Google.
>
> Best regards,
> Jocke
>
> "Jason Birch" wrote in message
> news:vc4ppvgmmipantan3rldsh47cg75hpa1mc@4ax.com...
> > On Fri, 24 Oct 2003 15:32:21 -0700, in autodesk.mapguide.developer
> > "Meng Li" wrote:
> >
> > > Anyone had experience in catching and tracking MapGuide server errors,
> > > especially those servere errors that may cause MapGuide server not
> running,
> > > and send them to administrators via email for actions?
> >
> > As far as I have seen, there is no native way of doing this in
> > MapGuide. However, if the services are actually failing (in a way
> > that Windows is aware of) then you can set up notification through the
> > Services control panel item.
> >
> > Select the MapGuide (or JRun or whatever) service, right click, choose
> > Properties, and then click on the Recovery tab. There, you have the
> > option to run a file when the service stops. You can send an email
> > from this file, do a NET SEND, and/or restart the service (NET START)
> > Here's a pretty clear example of how to send the email using Windows
> > scripting: http://www.paulsadowski.com/WSH/cdo.htm There are also a
> > number of free utilities that could accomplish the same.
> >
> > If you're seeing specific errors in the event log associated with
> > these errors, then you could set up some kind of event log monitoring.
> > SQL Server has the ability to do this internally, and there are quite
> > a few commercial event log monitors out there.
> >
> > Jason
> >
>
>

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report