Skip to main content
Solved

Monitoring Servers and Services

  • January 16, 2024
  • 2 replies
  • 102 views

vxn43
Supporter
Forum|alt.badge.img+18

Is it possible to use FME to monitor servers and services that include the following:

 

Request Failure Alarms (example includes when an internal or external website gets a 502 error)

 

Response Time Alarms (example includes if a website takes longer to respond than usual)

 

Available Storage on a server (example if storage gets to 20 percent then send an email notification)

 

Server Unavailable (example is if a VM goes down)

 

I know I can do these things using VertiGIS Analytics for the GIS side; but am curious to know what FME Form along with FME Flow can do, if it is even possible to do at least one or any of the things I list above? what transformers would be useful? maybe creating a few workspaces and publishing them to FME Flow.

 

 

 

 

Best answer by ctredinnick

Yes, you'd be creating a workspace which on FME Flow you have set up to run on a frequent schedule.

For a website failure, make a request to it with an HTTPCaller, the result will include the http_status_code which you can take action on if it is a 502.

For a response time, you can have a TimeStamper before and after the HTTPCaller to tell how long the request took, and test if the difference is more than some seconds. Also test the HTTPCaller rejected port for a response timeout.

For storage on a server, I assume the server has an API to tell you that. So you just HTTP query, and test how much is available. Use an FMEFlowEmailGenerator + FmeFlowNotifier to build the email message and have the Flow server send the email, it'd be better than using an Emailer.

 

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

ctredinnick
Supporter
Forum|alt.badge.img+19
  • Supporter
  • Best Answer
  • January 17, 2024

Yes, you'd be creating a workspace which on FME Flow you have set up to run on a frequent schedule.

For a website failure, make a request to it with an HTTPCaller, the result will include the http_status_code which you can take action on if it is a 502.

For a response time, you can have a TimeStamper before and after the HTTPCaller to tell how long the request took, and test if the difference is more than some seconds. Also test the HTTPCaller rejected port for a response timeout.

For storage on a server, I assume the server has an API to tell you that. So you just HTTP query, and test how much is available. Use an FMEFlowEmailGenerator + FmeFlowNotifier to build the email message and have the Flow server send the email, it'd be better than using an Emailer.

 


david_r
Celebrity
  • January 18, 2024

It's indeed perfectly doable, but personally I'd rather reach for some dedicated monitoring software for this use case. That way you don't have to debug every edge case yourself. There are several open source alternatives out there.