• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 387
  • Last Modified:

Monitoring

Hi guys.

I hope you can help me with this one.
I need to monitor some services. For example I need to check if a SMTP service is up. Can I just send a telnet command like:

"Telnet webmail.mycompany.com 25" and If I get a response then it Is up.

A need a kind of method to send data to a URL/IP on a specific port number and send a command/data and retrieve an answer and based on the answer I do some logic(I can do this part fine).
0
databoks
Asked:
databoks
  • 3
  • 2
2 Solutions
 
IP512Commented:
yes, you can simply try a telnet connect to a tcp port to monitor TCP services like SMTP, IMAP, POP3 e.g., if you receive any response the service is up and listening.

in most cases this is enough to monitor services, the huge effort to send/receive data only helps in a minority of failures and even then it is propably not accurate.

i suggest monitoring the listening state of the TCP services with a simple telnet command.
0
 
databoksAuthor Commented:
Thank you.

So the telnet and so forth is fine. What about a Exchange server that doesn't use POP3 but recieves emails directly? How do I handle this one?
0
 
XaelianCommented:
Why don't you integrate a monitoringserver? (You can install this even on your own pc). Easy to view what is running and what not. Sends messages that a particular service is down. An example of an easy to set up, scalable monitoringtool is Cacti.
0
Restore individual SQL databases with ease

Veeam Explorer for Microsoft SQL Server delivers an easy-to-use, wizard-driven interface for restoring your databases from a backup. No expert SQL background required. Web interface provides a complete view of all available SQL databases to simplify the recovery of lost database

 
databoksAuthor Commented:
Well i need to have this running all the time and it has to be done remotely. Also I want the program to send a SMS when problem occurres
0
 
IP512Commented:
there are monitoring solutions that provide all this but maybe in your specific case it is the best solution to develop it on your own, it depends on your needs.

to monitor the exchange server you would monitor the SMTP (TCP:25) port on your hub transport server.
0
 
databoksAuthor Commented:
I will get back after some tests.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now