Ad Widget

Collapse

Zabbix 1.1.3, apache error_log

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jbothe
    Junior Member
    • Sep 2006
    • 10

    #1

    Zabbix 1.1.3, apache error_log

    After upgradnig to Zabbix 1.1.3, my error_log has the following:
    Code:
    Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.3/FAQ
    Seems that line 1922 of ./frontends/php/include/config.inc.php needs the dash removed infront of the "ps -ax" command, such as:
    Code:
    if( (exec("ps -ef|grep zabbix_server|grep -v grep|wc -l")>0) || (exec("ps ax|grep zabbix_server|grep -v grep|wc -l")>0) )
  • James Wells
    Senior Member
    • Jun 2005
    • 664

    #2
    Greetings,

    Please note that that code will only be correct if the web server and the zabbix server are the same machine. If you want to run them on seperate machines, you are better off using the patch I submitted;
    PATCH: Improved Server Status In Reports
    Unofficial Zabbix Developer

    Comment

    Working...