• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

psa-health-monitor broke

TairkH

Basic Pleskian
Hello,

I run plesk 10.1.1 for a couple days.
The psa-health-monitor works for couple days just fine but now it's broke nothing updates any more.


everything stay's in plesk panel 0%

I did reinstall psa-health-monitor but with no luck.
if i start the psa-health-monitor it will broke after a couple of minutes

/etc/init.d/psa-health-monitor-notificationd start

Starting PP HM notification daemon: [ OK ]

couple minutes later

/etc/init.d/psa-health-monitor-notificationd status
psa-health-monitor-notificationd dead but pid file exists


why it's not updating anymore?
everything stay's at 0 or 0%



Someone can help me with it?

Thanx in advanced
 
Any related errors in log files?
/var/log/messages
/var/log/sw-cp-server/error_log
/usr/local/psa/admin/logs/

What sort of output command:

# /usr/bin/sw-engine -c /usr/local/psa/admin/conf/php.ini /usr/lib64/plesk-9.0/psa-health-monitor-notification.php

Do you see running process after that with

# ps ax | grep health
 
I found this in /var/log/sw-cp-server/error_log



PHP Catchable Fatal Error: Argument 1 passed to Health_Data::getAverageValueFromData() must be an array, null given, called in /usr/local/psa/admin/plib/Health/Paramet$

PHP Catchable Fatal Error: Argument 1 passed to Health_Data::normalize() must be an array, null given, called in /usr/local/psa/admin/plib/Health/Data.php on line 50 a$

PHP Warning: array_filter() [<a href='function.array-filter'>function.array-filter</a>]: The first argument should be an array

PHP Catchable Fatal Error: Argument 1 passed to Health_Parameter_Abstract::setValue() must be an array, null given

PHP Catchable Fatal Error: Argument 1 passed to Health_Data::getAverageValueFromData() must be an array, null given, called in /usr/local/psa/admin/plib/Health/Paramet$

PHP Catchable Fatal Error: Argument 1 passed to Health_Data::normalize() must be an array, null given, called in /usr/local/psa/admin/plib/Health/Data.php on line 50 a$

PHP Warning: array_filter() [<a href='function.array-filter'>function.array-filter</a>]: The first argument should be an array

PHP Catchable Fatal Error: Argument 1 passed to Health_Parameter_Abstract::setValue() must be an array, null given

PHP Catchable Fatal Error: Argument 1 passed to Health_Data::getAverageValueFromData() must be an array, null given, called in /usr/local/psa/admin/plib/Health/Paramet$

PHP Catchable Fatal Error: Argument 1 passed to Health_Data::normalize() must be an array, null given, called in /usr/local/psa/admin/plib/Health/Data.php on line 50 a$

PHP Warning: array_filter() [<a href='function.array-filter'>function.array-filter</a>]: The first argument should be an array

PHP Catchable Fatal Error: Argument 1 passed to Health_Parameter_Abstract::setValue() must be an array, null given

PHP Catchable Fatal Error: Argument 1 passed to Health_Data::getAverageValueFromData() must be an array, null given, called in /usr/local/psa/admin/plib/Health/Paramet$

PHP Catchable Fatal Error: Argument 1 passed to Health_Data::normalize() must be an array, null given, called in /usr/local/psa/admin/plib/Health/Data.php on line 50 a$

PHP Warning: array_filter() [<a href='function.array-filter'>function.array-filter</a>]: The first argument should be an array



the command /usr/bin/sw-engine -c /usr/local/psa/admin/conf/php.ini /usr/lib64/plesk-9.0/psa-health-monitor-notification.php

will start it but with no luck everything stay's 0 or 0%


ps ax | grep health wil give

10219 ? S 0:00 /usr/bin/sw-engine -c /usr/local/psa/admin/conf/php.ini /usr/lib64/plesk-9.0/psa-health-monitor-notification.php
10821 pts/0 S+ 0:00 grep health


but after a few minutes it wil be

ps ax | grep health
13650 pts/0 S+ 0:00 grep health



Greetz
 
Last edited:
Experiencing same issue

I'm also seeing errors related to this in Plesk:

OS Linux 2.6.18-308.4.1.el5PAE
Panel version 10.4.4 Update #45, last updated at Oct 12, 2012 04:03 AM

----
PHP Catchable Fatal Error: Argument 1 passed to Health_Parameter_Abstract::setValue() must be an array, null given
Line: 203
File: /usr/local/psa/admin/plib/Health/Parameter/Abstract.php
Stack Trace:

#0 Smb_Exception_Syntax::handleError(4096, Argument 1 passed to Health_Parameter_Abstract::setValue() must be an array, null given, /usr/local/psa/admin/plib/Health/Parameter/Abstract.php, 203, Array ()) called at [/usr/local/psa/admin/plib/Health/Parameter/Abstract.php:203]

#1 Health_Parameter_Abstract->setValue()

#2 call_user_func_array(Array ([0] => Health_Parameter_Ram_TotalUsage Object ([] => Health_Parameter_Id Object ([] => TotalUsage,[] => Health_Parameter_Id Object ([] => Ram,[] => )),[] => TotalUsage,[] => memory/memory-used.rrd,[] => Health_Data Object ([] => Health_Data_Adapter_RRDTool_Exec Object ()),[] => ,[] => Health_Parameter_Trend Object ([] => 1099150322.35,[] => 1089350967.7583,[] => 0,[] => asSign,[] => relativeIncrease,[] => 2),[] => 8500109312,[] => Health_Data_TimeInterval Object ([] => now-1minute,[] => ),[] => Health_Data_TimeInterval Object ([] => now-2h,[] => ),[] => Health_Data_TimeInterval Object ([] => now-1h,[] => ),[] => Health_Alarm_Counter Object ([] => Health_Parameter_Ram_TotalUsage Object ( *RECURSION*,[] => ,[] => Zend_Config Object ([] => ,[] => 0,[] => 2,....(removed more data from this array to fit the post limit)

#3 Health_Data_Collector->_updateParameter(Health_Parameter_Ram_TotalUsage Object ([] => Health_Parameter_Id Object ([] => TotalUsage,[] => Health_Parameter_Id Object ([] => Ram,[] => )),[] => TotalUsage,[] => memory/memory-used.rrd,[] => Health_Data Object ([] => Health_Data_Adapter_RRDTool_Exec Object ()),[] => ,[] => Health_Parameter_Trend Object ([] => 1099150322.35,[] => 1089350967.7583,[] => 0,[] => asSign,[] => relativeIncrease,[] => 2),[] => 8500109312,....(removed more data from this array to fit the post limit)

#4 Health_Data_Collector->_update(Array ([now-5minute] => Array ([0] => Array ([id] => Services->CpuTime->Web,[values] => Array ([0] => Array ([db] => processes-Web/ps_cputime.rrd,[ds] => user),[1] => Array ([db] => processes-Web/ps_cputime.rrd,[ds] => syst)),[setFunc] => setValue,[setFuncParamIndex] => 0),[1] => Array ([id] => Services->CpuTime->Mail,[values] => Array ([0] => Array ([db] => processes-Mail/ps_cputime.rrd,[ds] => user),[1] => Array ([db] => processes-Mail/ps_cputime.rrd,[ds] => syst)),[setFunc] => setValue,[setFuncParamIndex] => 0),[2] => Array ([id] => Services->CpuTime->MySql,[values] => Array ([0] => Array ([db] => processes-MySql/ps_cputime.rrd,[ds] => user),[1] => Array ([db] => processes-MySql/ps_cputime.rrd,[ds] => syst)),[setFunc] => setValue,[setFuncParamIndex] => 0),....(removed more data from this array to fit the post limit)

#5 Health_Data_Collector->updateSummary() called at [/usr/local/psa/admin/panel/application/views/scripts/health/parameters.phtml:144]

#6 include(/usr/local/psa/admin/panel/application/views/scripts/health/parameters.phtml) called at [/usr/local/psa/admin/plib/Zend/View.php:108]

#7 Zend_View->_run(/usr/local/psa/admin/panel/application/views/scripts/health/parameters.phtml) called at [/usr/local/psa/admin/plib/Zend/View/Abstract.php:888]

#8 Zend_View_Abstract->render(health/parameters.phtml) called at [/usr/local/psa/admin/plib/Zend/Controller/Action/Helper/ViewRenderer.php:908]

#9 Zend_Controller_Action_Helper_ViewRenderer->renderScript(health/parameters.phtml, ) called at [/usr/local/psa/admin/plib/Zend/Controller/Action/Helper/ViewRenderer.php:929]

#10 Zend_Controller_Action_Helper_ViewRenderer->render() called at [/usr/local/psa/admin/plib/Zend/Controller/Action/Helper/ViewRenderer.php:968]

#11 Zend_Controller_Action_Helper_ViewRenderer->postDispatch() called at [/usr/local/psa/admin/plib/Zend/Controller/Action/HelperBroker.php:277]

#12 Zend_Controller_Action_HelperBroker->notifyPostDispatch() called at [/usr/local/psa/admin/plib/Zend/Controller/Action.php:523]

#13 Zend_Controller_Action->dispatch(parametersAction) called at [/usr/local/psa/admin/plib/Zend/Controller/Dispatcher/Standard.php:295]

#14 Zend_Controller_Dispatcher_Standard->dispatch(Zend_Controller_Request_Http Object ([] => Array ([0] => _GET,[1] => _POST),[] => /admin/health/parameters,[] => /admin,[] => ,[] => /health/parameters,[] => Array ([controller] => health,[action] => parameters,[module] => default),[] => ,[] => Array (),[] => 1,[] => default,[] => module,[] => health,[] => controller,[] => parameters,[] => action), Zend_Controller_Response_Http Object ([] => Array (),[] => Array (),[] => Array (),[] => Array (),[] => 200,[] => ,[] => ,[headersSentThrowsException] => 1)) called at [/usr/local/psa/admin/plib/Zend/Controller/Front.php:954]

#15 Zend_Controller_Front->dispatch() called at [/usr/local/psa/admin/panel/application/library/AdminPanel/Application/Web.php:20]

#16 AdminPanel_Application_Web->run() called at [/usr/local/psa/admin/panel/application/public/index.php:15]
 
Still having trouble with this

The following error messages (truncated) are still appearing on our Plesk dashboard. Can anyone help?

---
PHP Catchable Fatal Error: Argument 1 passed to Health_Parameter_Abstract::setValue() must be an array, null given
Line: 203
File: /usr/local/psa/admin/plib/Health/Parameter/Abstract.php
Stack Trace:
#0 Smb_Exception_Syntax::handleError(4096, Argument 1 passed to Health_Parameter_Abstract::setValue() must be an array, null given, /usr/local/psa/admin/plib/Health/Parameter/Abstract.php, 203, Array ()) called at [/usr/local/psa/admin/plib/Health/Parameter/Abstract.php:203]
#1 Health_Parameter_Abstract->setValue()
#2 call_user_func_array(Array ([0] => Health_Parameter_Ram_TotalUsage Object ([] => Health_Parameter_Id Object ([] => TotalUsage,[] => Health_Parameter_Id Object ([] => Ram,[] => )),[] => TotalUsage,[] => memory/memory-used.rrd,[] => Health_Data Object ([] => Health_Data_Adapter_RRDTool_Exec Object ()),[] => ,[] => Health_Parameter_Trend Object ([] => 1267535003.1455,[] => 1260256988.7333,[] => 0,[] => asSign,[] => relativeIncrease,[] => 2),[] => 8500109312,[] => Health_Data_TimeInterval Object ([] => now-1minute,[] => ),[] => Health_Data_TimeInterval Object ([] => now-2h,[] => ),[] => Health_Data_TimeInterval Object ([] => now-1h,[] => ),[] => Health_Alarm_Counter Object ([] => Health_Parameter_Ram_TotalUsage Object ( *RECURSION*,[] => ,[] => Zend_Config Object ([] => ,[] => 0,[] => 2,[] => Array ([0] => Zend_Config Object ([] => ,[] => 0,[] => 3,[] => Array ([level] => red,[threshold] => 95,[type] => percent),[] => ,[] => ,[] => Array (),[] => ),[1] => Zend_Config Object ([] => ,[] => 0,[] => 3,[] => Array ([level] => yellow,[threshold] => 90,[type] => percent),[] => ,[] => ,[] => Array (),[] => )),[] => ,[] => ,[] => Array (),[] => )),[] => ,[] => ),[1] => setValue), Array ([0] => )) called at [/usr/local/psa/admin/plib/Health/Data/Collector.php:103]
#3 Health_Data_Collector->_updateParameter(Health_Parameter_Ram_TotalUsage Object ([] => Health_Parameter_Id Object ([] => TotalUsage,[] => Health_Parameter_Id Object ([] => Ram,[] => )),[] => TotalUsage,[] => memory/memory-used.rrd,[] => Health_Data Object ([] => Health_Data_Adapter_RRDTool_Exec Object ()),[] => ,[] => Health_Parameter_Trend Object ([] => 1267535003.1455,[] => 1260256988.7333,[] => 0,[] => asSign,[] => relativeIncrease,[] => 2),[] => 8500109312,[] => Health_Data_TimeInterval Object ([] => now-1minute,[] => ),[] => Health_Data_TimeInterval Object ([] => now-2h,[] => ),[] => Health_Data_TimeInterval Object ([] => now-1h,[] => ),[] => Health_Alarm_Counter Object ([] => Health_Parameter_Ram_TotalUsage Object ( *RECURSION*,[] => ,[] => Zend_Config Object ([] => ,[] => 0,[] => 2,[] => Array ([0] => Zend_Config Object ([] => ,[] => 0,[] => 3,[] => Array ([level] => red,[threshold] => 95,[type] => percent),[] => ,[] => ,[] => Array (),[] => ),[1] => ............
 
Back
Top