Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Dashboard to remotely connect linux back-ends

by charithd (Acolyte)
on Sep 02, 2015 at 10:23 UTC ( [id://1140772]=perlquestion: print w/replies, xml ) Need Help??

charithd has asked for the wisdom of the Perl Monks concerning the following question:

Good day to you all,

I need develop a dashboard that can show available linux servers status (I have more than 10 servers) like login users, cat some files from server and show outputs, restart services like apache and tomcat ..etc

for now I'm doing all the back-end work by perl and it capture and store the informations on DB. PHP front-end extract this info from DB and show it on web. (obviously not the correct way)

In this case I cannot effectively do service restart and cat files via php because i had to remotely connect many servers.

Is there any easy way of doing this kind of work with perl CGI or any other language ? (sorry for asking suggestions on other language here)

Any advise or guidance would be greatly appreciated.
  • Comment on Dashboard to remotely connect linux back-ends

Replies are listed 'Best First'.
Re: Dashboard to remotely connect linux back-ends
by GotToBTru (Prior) on Sep 02, 2015 at 12:24 UTC

    What specifically do you need help with? Cat what files? Where? If you are already issuing other commands on these servers to collect their information, I would think you could force restart the same way.

    Dum Spiro Spero
Re: Dashboard to remotely connect linux back-ends
by Old_Gray_Bear (Bishop) on Sep 02, 2015 at 17:32 UTC
    Take a look at Nagios.

    In addition to extracting data for monitoring, the interface can be used to run arbitrary commands (such as shutdown -r now).

    ----
    I Go Back to Sleep, Now.

    OGB

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1140772]
Approved by planetscape
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2024-04-26 05:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found