Supermicro Monitoring (Fans,etc..) Cacti 0.8.7b

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
igor2
Posts: 1
Joined: Tue Mar 11, 2008 7:05 am

Supermicro Monitoring (Fans,etc..) Cacti 0.8.7b

Post by igor2 »

After upgrade our Cacti server to latest version (0.8.7b) supermicro.php did not work :

This is the output :

Code: Select all

/usr/bin/php -q /var/www/htdocs/cacti-0.8.7b/scripts/supermicro.php fan IP_address , snmp_community, 2, , , 161, 500 index
PHP Notice:  Undefined variable:  config in /var/www/htdocs/cacti-0.8.7b/lib/snmp.php on line 34
PHP Warning:  Missing argument 9 for cacti_snmp_walk() in /var/www/htdocs/cacti-0.8.7b/lib/snmp.php on line 226
PHP Warning:  Missing argument 10 for cacti_snmp_walk() in /var/www/htdocs/cacti-0.8.7b/lib/snmp.php on line 226
PHP Notice:  Use of undefined constant SNMP_POLLER - assumed 'SNMP_POLLER' in /var/www/htdocs/cacti-0.8.7b/lib/snmp.php on line 226
PHP Fatal error:  Call to undefined function:  read_config_option() in /var/www/htdocs/cacti-0.8.7b/lib/snmp.php on line 235

thanks to juni-graffer: we cut and paste some part of your code and
now it works fine!


This is the new file:
Attachments
supermicro.php.new.txt
supermicro.php.new
(14.6 KiB) Downloaded 343 times
sloop
Posts: 23
Joined: Tue Oct 17, 2006 10:09 am

Post by sloop »

Hi, thanks for sharing. the php script you posted was garbled (lots of backslashes in it). Could you try zipping it up and then uploading?

Also, what templates etc are you using with this script?
[url=http://www.tqhosting.com/]Tranquil Hosting[/url] - NC Managed Servers and Colocation
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests