Search found 7 matches

by energie501
Mon Jun 09, 2008 3:42 pm
Forum: Help: Linux/Unix Specific
Topic: .rra file not updating when executing ssh script.
Replies: 9
Views: 2453

Has anybody got any other ideas for me to explore? Please share your thoughts. Thanks
by energie501
Mon Jun 09, 2008 12:41 pm
Forum: Help: Linux/Unix Specific
Topic: .rra file not updating when executing ssh script.
Replies: 9
Views: 2453

What I do is, I have a data input method and template defined for the script that works. It is the non-ssh version and cacti plots data on the graphs for it. I then rename that file and restore the ssh version on it. Immediately it stops charting data and gives errors. Consequently when I restore th...
by energie501
Mon Jun 09, 2008 12:24 pm
Forum: Help: Linux/Unix Specific
Topic: .rra file not updating when executing ssh script.
Replies: 9
Views: 2453

Thanks for looking into it. Here is the script and output: [qchat@qchat3553 scripts]$ cat getcpussh.pl #!/usr/bin/perl use Net::SSH::Perl; my $ssh = Net::SSH::Perl->new("127.0.0.1"); $ssh->login("qchat","qchat"); ($output,$errors,$exit) = $ssh->cmd("vmstat | sed -n...
by energie501
Mon Jun 09, 2008 11:56 am
Forum: Help: Linux/Unix Specific
Topic: .rra file not updating when executing ssh script.
Replies: 9
Views: 2453

Thanks for the tip. I tried it, it still gives me the same error: #!/usr/bin/perl use Net::SSH::Perl; my $ssh = Net::SSH::Perl->new("127.0.0.1"); $ssh->login("q","q"); ($output,$errors,$exit) = $ssh->cmd("vmstat | sed -n -e '3p'"); #print $output; my @fields =...
by energie501
Mon Jun 09, 2008 11:40 am
Forum: Help: Linux/Unix Specific
Topic: .rra file not updating when executing ssh script.
Replies: 9
Views: 2453

.rra file not updating when executing ssh script.

Thanks to all of you who responded to my earlier email. I am facing a new issue now. Please see details below: I have a cpu monitoring script that runs on remote machines, and spits out data in the following format: us:0 sy:0 id:100 The script does an SSH to remote machine and extracts data from it....
by energie501
Mon Jun 02, 2008 7:39 pm
Forum: Help: Linux/Unix Specific
Topic: How do I monitor CPU, IO and Memory of a remote linux host?
Replies: 2
Views: 1560

I am using Data Input Methods by the way. Please let me know what to look into?

Thanks
by energie501
Mon Jun 02, 2008 7:07 pm
Forum: Help: Linux/Unix Specific
Topic: How do I monitor CPU, IO and Memory of a remote linux host?
Replies: 2
Views: 1560

How do I monitor CPU, IO and Memory of a remote linux host?

Hi, I am working on configuring Cacti to graph CPU, Memory and IO stats of a performance testbed comprising of about 50 machines. I have the requisite perl scripts that output data in the correct format, and I am able to plot data from localhost(cacti installation) on the graph, however when I creat...