Search found 3 matches

by JabawokJayUK
Wed Jul 21, 2004 2:28 pm
Forum: Help: Linux/Unix Specific
Topic: LM Sensors Monitoring Prooblem.
Replies: 6
Views: 5267

ok, i have been playing and now i get this [root@nukleuz scripts]# php ../cmd.php Content-type: text/html X-Powered-By: PHP/4.3.6 command: perl /var/www/html/cacti/scripts/linux_memory.pl SwapFree:, output: 2040244 MULTI command: perl /var/www/html/cacti/scripts/loadavg_multi.pl, output: 1min:0.07 5...
by JabawokJayUK
Wed Jul 21, 2004 1:54 pm
Forum: Help: Linux/Unix Specific
Topic: LM Sensors Monitoring Prooblem.
Replies: 6
Views: 5267

Ok i have changed my script to output this:

print "rpm1:$fan1 rpm2:$fan2 rpm3:$fan3 temp1:$temp1 temp2:$temp2 temp3:$temp3\n";

which gives this:

rpm1:2220 rpm2:1622 rpm3:3375 temp1:41 temp2:33 temp3:43

But how do i get the rrd update bit sorted?
by JabawokJayUK
Wed Jul 21, 2004 7:48 am
Forum: Help: Linux/Unix Specific
Topic: LM Sensors Monitoring Prooblem.
Replies: 6
Views: 5267

LM Sensors Monitoring Prooblem.

I am using the following script to monitor my lm sensors: [root@nukleuz cacti]# cat scripts/check_sensors.pl #!/usr/bin/perl @sensoroutput=`/usr/bin/sensors`; foreach(@sensoroutput) { chomp(); split(); if ( "$_[0] Temp:" eq 'M/B Temp:' ) { $temp1 = $_[2]; } if ( "$_[0] Temp:" eq ...