Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Obtaining server status??

by nithins (Sexton)
on Apr 18, 2013 at 07:42 UTC ( #1029276=perlquestion: print w/ replies, xml ) Need Help??
nithins has asked for the wisdom of the Perl Monks concerning the following question:

Greetings monks, I need your help in this, Our project has classified in to three dimensions(servers) , http i,e(portal end) ,siebel end & SOA end.When it comes to testing its hectic to find out which side is down.Is there any way to find out the health of these dimensions(servers) using perl script before starting the testing ?

Thanks in advance

Comment on Obtaining server status??
Replies are listed 'Best First'.
Re: Obtaining server status??
by Random_Walk (Prior) on Apr 18, 2013 at 08:00 UTC

    There is an example here of a simple script to check services on a server and mail you if one is down. Add a round robin ping script (have a look at the Net::Ping module) and you have covered the basics.


    Pereant, qui ante nos nostra dixerunt!
Re: Obtaining server status??
by marto (Bishop) on Apr 18, 2013 at 10:49 UTC

    Sounds like you're looking for a network monitoring system. Big Sister comes to mind, but I've not looked at it in a long time. It's perl based.

      or nagios

      (($_="Mzz ojjdloobnf jt uvy5502383")=~y~b-zg2-5c96-81~a-z0-9~s)=~s~~~s; print
Re: Obtaining server status??
by Anonymous Monk on Apr 18, 2013 at 07:51 UTC

    ... server status ...

    try to connect to server, query for status ... like nmap but more specific

Re: Obtaining server status??
by Pizentios (Scribe) on Apr 19, 2013 at 13:38 UTC
    Of course as somebody else pointed out nagois is a good tool for monitoring servers. There is another software called Zabbix (see that works quite well too. Nagios is definitely the classic tool IMHO, however i have had great experiences with zabbix as well.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1029276]
Front-paged by Corion
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (11)
As of 2015-10-06 14:57 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (151 votes), past polls