Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

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??
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 Random_Walk (Parson) 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.

    http://perl.about.com/od/perltutorials/qt/servicemonitor.htm


    Cheers,
    R.

    Pereant, qui ante nos nostra dixerunt!
Re: Obtaining server status??
by marto (Chancellor) 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 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 http://www.zabbix.com/) that works quite well too. Nagios is definitely the classic tool IMHO, however i have had great experiences with zabbix as well.
    -Pizentios

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2014-11-27 18:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (186 votes), past polls