Get Load Average (Remote SSH)

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
InfoAddict
Posts: 1
Joined: Tue Aug 27, 2002 6:50 pm
Location: Canberra, ACT, AU

Get Load Average (Remote SSH)

Post by InfoAddict »

Hi all,

Just a quick one - Im new to cacti but love it already, and was wondering how I could get remote CPU load info without SNMP and saw:

"Get Load Average (Remote SSH)"

How does this work, as I cannot find the file "load.pl" to that I assume that you use in the following line.

ssh <username>@<hostname> perl load.pl

Any ideas?
Thanks in advance.
Dan.
yid
Cacti User
Posts: 83
Joined: Sat Apr 20, 2002 8:26 pm

Post by yid »

Not sure about the "Get Load Average (Remote SSH)", but I would do:

Code: Select all

ssh <user>@hostname "uptime"
You must also be sure to setup trusted host authentication between these hosts with ssh, otherwise it'll require a password upon execution.

Alternatively, you can use netsaint_statd to get these types of statistics remotely. This netsaint/nagios plugin allows you to retrieve load average, disk utilization, processes, and users. For netsaint_statd, check the downloads section of http://www.nagios.org

Aaron
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest