Beste,
Ik heb op mijn server phpsysinfo geïnstalleerd, en het werk gewoon. Maar nu wil ik de temperaturen van mijn core en harde schijven weergeven. Dus in die config.php heb ik de sensor LMSensors ingesteld bij hdd en Core temperatuur. Natuurlijk heb ik deze ook geïnstalleerd via de commandline.
Maar het probleem is, zodra ik nu in phpsysinfo kijk is dat de temperaturen niet worden weergegeven met deze error:
"
OH, I'M SORRY. SOMETHING SEEMS TO BE WRONG.
__construct()
Wrong Value in config.php for PSI_SENSOR_ACCESS
errorHandlerPsi :
PHP throws a error
Level : 2 Message : fsockopen() [function.fsockopen]: unable to connect to localhost:7634 (Connection refused) File : /home/www/********/phpsysinfo/includes/mb/class.HDDTemp.inc.php Line : 42
HDDTemp error
111, Connection refused
./xml.php on line 45
./includes/output/class.WebpageXML.inc.php on line 138 in function run()
./includes/xml/class.XML.inc.php on line 449 in function getXml()
./includes/xml/class.XML.inc.php on line 435 in function _buildXml()
./includes/xml/class.XML.inc.php on line 339 in function _buildMbinfo()
./includes/mb/class.Sensors.inc.php on line 60 in function getMBInfo()
./includes/mb/class.HDDTemp.inc.php on line 133 in function build()
./includes/mb/class.HDDTemp.inc.php on line 50 in function _temperature()
"
Dit is mijn configuratie file van de sensors.
# BEGIN
// ********************************
// SENSORS PARAMETERS
// ********************************
/**
* Define the motherboard monitoring program (!!!names are case-sensitive!!!)
* We support the following programs so far
* - LMSensors http://www.lm-sensors.org/
* - Healthd http://healthd.thehousleys.net/
* - HWSensors http://www.openbsd.org/
* - MBMon http://www.nt.phys.kyushu...zu/download/download.html
* - MBM5 http://mbm.livewiredev.com/
* - Coretemp
* - IPMI http://openipmi.sourceforge.net/
* - K8Temp http://hur.st/k8temp/
* Example: If you want to use lmsensors : define('PSI_SENSOR_PROGRAM', 'LMSensors');
*/
define('PSI_SENSOR_PROGRAM', 'LMSensors');
/**
* Define how to access the monitor program
* Available methods for the above list are in the following list
* default method 'command' should be fine for everybody
* !!! tcp connections are only made local and on the default port !!!
* - LMSensors command, file
* - Healthd command
* - HWSensors command
* - MBMon command, tcp
* - MBM5 file
* - Coretemp command
* - IPMI command
* - K8Temp command
*/
define('PSI_SENSOR_ACCESS', '');
/**
* Hddtemp program
* If the hddtemp program is available we can read the temperature, if hdd is smart capable
* !!ATTENTION!! hddtemp might be a security issue
* - define('PSI_HDD_TEMP', 'tcp'); // read data from hddtemp deamon (localhost:7634)
* - define('PSI_HDD_TEMP', 'command'); // read data from hddtemp programm (must be set suid)
*/
define('PSI_HDD_TEMP','tcp');
#EINDE
Ik heb al op google gekeken, maar alle oplossing die daar staan helpen niet.
Heeft iemand enig idee hoe ik dit werkend kan krijgen op mijn server ?
Het gaat trouwens om een HP Proliant DL100 G2.
Bvd,
Dync:)
Ik heb op mijn server phpsysinfo geïnstalleerd, en het werk gewoon. Maar nu wil ik de temperaturen van mijn core en harde schijven weergeven. Dus in die config.php heb ik de sensor LMSensors ingesteld bij hdd en Core temperatuur. Natuurlijk heb ik deze ook geïnstalleerd via de commandline.
Maar het probleem is, zodra ik nu in phpsysinfo kijk is dat de temperaturen niet worden weergegeven met deze error:
"
OH, I'M SORRY. SOMETHING SEEMS TO BE WRONG.
__construct()
Wrong Value in config.php for PSI_SENSOR_ACCESS
errorHandlerPsi :
PHP throws a error
Level : 2 Message : fsockopen() [function.fsockopen]: unable to connect to localhost:7634 (Connection refused) File : /home/www/********/phpsysinfo/includes/mb/class.HDDTemp.inc.php Line : 42
HDDTemp error
111, Connection refused
./xml.php on line 45
./includes/output/class.WebpageXML.inc.php on line 138 in function run()
./includes/xml/class.XML.inc.php on line 449 in function getXml()
./includes/xml/class.XML.inc.php on line 435 in function _buildXml()
./includes/xml/class.XML.inc.php on line 339 in function _buildMbinfo()
./includes/mb/class.Sensors.inc.php on line 60 in function getMBInfo()
./includes/mb/class.HDDTemp.inc.php on line 133 in function build()
./includes/mb/class.HDDTemp.inc.php on line 50 in function _temperature()
"
Dit is mijn configuratie file van de sensors.
# BEGIN
// ********************************
// SENSORS PARAMETERS
// ********************************
/**
* Define the motherboard monitoring program (!!!names are case-sensitive!!!)
* We support the following programs so far
* - LMSensors http://www.lm-sensors.org/
* - Healthd http://healthd.thehousleys.net/
* - HWSensors http://www.openbsd.org/
* - MBMon http://www.nt.phys.kyushu...zu/download/download.html
* - MBM5 http://mbm.livewiredev.com/
* - Coretemp
* - IPMI http://openipmi.sourceforge.net/
* - K8Temp http://hur.st/k8temp/
* Example: If you want to use lmsensors : define('PSI_SENSOR_PROGRAM', 'LMSensors');
*/
define('PSI_SENSOR_PROGRAM', 'LMSensors');
/**
* Define how to access the monitor program
* Available methods for the above list are in the following list
* default method 'command' should be fine for everybody
* !!! tcp connections are only made local and on the default port !!!
* - LMSensors command, file
* - Healthd command
* - HWSensors command
* - MBMon command, tcp
* - MBM5 file
* - Coretemp command
* - IPMI command
* - K8Temp command
*/
define('PSI_SENSOR_ACCESS', '');
/**
* Hddtemp program
* If the hddtemp program is available we can read the temperature, if hdd is smart capable
* !!ATTENTION!! hddtemp might be a security issue
* - define('PSI_HDD_TEMP', 'tcp'); // read data from hddtemp deamon (localhost:7634)
* - define('PSI_HDD_TEMP', 'command'); // read data from hddtemp programm (must be set suid)
*/
define('PSI_HDD_TEMP','tcp');
#EINDE
Ik heb al op google gekeken, maar alle oplossing die daar staan helpen niet.
Heeft iemand enig idee hoe ik dit werkend kan krijgen op mijn server ?
Het gaat trouwens om een HP Proliant DL100 G2.
Bvd,
Dync:)