Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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

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 (Archbishop) 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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2018-06-23 20:12 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (125 votes). Check out past polls.