Search found 6 matches

by case_h99
Thu Dec 07, 2006 5:20 pm
Forum: Scripts and Templates
Topic: Upgraded: snmpdiskio 0.9.6 (Disk I/O statistics on Linux)
Replies: 110
Views: 297461

read or write?

I use Centos 4.4 (kernel 2.6) I sucessfully installed the last version of the script and the template I monitor a server whit no much traffic... btw I think only syslog is using disk. In fact if I use iostat, I can see this: Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn hda2 131.68 0.00 1053.4...
by case_h99
Mon Nov 27, 2006 5:04 am
Forum: Scripts and Templates
Topic: EDIT: Advanced Ping Template Version 1.3 for Cacti 0.8.6g
Replies: 527
Views: 793040

Sorry, I renew the question: where is the problem if in cacti logs I can find these lines? 11/27/2006 11:00:15 AM - PHPSVR: Poller[0] DEBUG: INC: '/var/www/cacti/scripts/ss_fping.php' FUNC: 'ss_fping' PARMS: '192.168.1.1 20 ICMP' 11/27/2006 11:00:15 AM - CMDPHP: Poller[0] Host[5] DS[58] WARNING: Res...
by case_h99
Sun Nov 26, 2006 5:34 pm
Forum: Scripts and Templates
Topic: EDIT: Advanced Ping Template Version 1.3 for Cacti 0.8.6g
Replies: 527
Views: 793040

gandalf wrote:You should run it as cactiuser, the user who runs the poller from cron. Then you'll see, that ICMP ping requires root or setuid root
Reinhard
The problem is the http header printed by php, not the icmp or udp method... btw running it as cactiuser give me headers.
by case_h99
Sat Nov 25, 2006 5:09 pm
Forum: Scripts and Templates
Topic: EDIT: Advanced Ping Template Version 1.3 for Cacti 0.8.6g
Replies: 527
Views: 793040

So did you try the link I advertised? Please post the results of those tests Yes I already try, as root. #php /var/www/cacti/script_server.php PHP Script Server has Started - Parent is cmd Here I put /var/www/cacti/scripts/ss_fping.php ss_fping 192.168.1.1 20 ICMP Then I get: Content-type: text/htm...
by case_h99
Sat Nov 25, 2006 4:57 pm
Forum: Scripts and Templates
Topic: EDIT: Advanced Ping Template Version 1.3 for Cacti 0.8.6g
Replies: 527
Views: 793040

gandalf wrote:The script server should do so as default.
well, in my case it seems not doing that.... :(
the logs says that:
WARNING: Result from SERVER not valid. Partial Result: Content-type: text/h

... I have php-4.3.8 and cacti-0.8.6i
by case_h99
Sat Nov 25, 2006 4:10 pm
Forum: Scripts and Templates
Topic: EDIT: Advanced Ping Template Version 1.3 for Cacti 0.8.6g
Replies: 527
Views: 793040

php problem?

Sorry. I'm new with cacti. BTW, I successfully installed this advanced ping script and template. In fact if I run ss_fping.php from command line... that is, from script_server.php I can get some results but.... I also get the php headers: Content-type: text/html X-Powered-By: PHP/4.3.8 min:0.2200 av...