From: <abe...@us...> - 2012-09-02 00:30:38
|
Revision: 5656 http://astlinux.svn.sourceforge.net/astlinux/?rev=5656&view=rev Author: abelbeck Date: 2012-09-02 00:30:32 +0000 (Sun, 02 Sep 2012) Log Message: ----------- web interface, allow Zabbix logs to be viewed from the System tab Modified Paths: -------------- branches/1.0/package/webinterface/altweb/admin/system.php branches/1.0/package/webinterface/altweb/admin/zabbix.php Modified: branches/1.0/package/webinterface/altweb/admin/system.php =================================================================== --- branches/1.0/package/webinterface/altweb/admin/system.php 2012-09-01 19:17:59 UTC (rev 5655) +++ branches/1.0/package/webinterface/altweb/admin/system.php 2012-09-02 00:30:32 UTC (rev 5656) @@ -538,6 +538,12 @@ if (is_file($file = '/var/log/openvpnclient.log')) { putHtml('<option value="'.$file.'">OpenVPN Client log</option>'); } + if (is_file($file = '/var/log/zabbix_agentd.log')) { + putHtml('<option value="'.$file.'">Zabbix Agent log</option>'); + } + if (is_file($file = '/var/log/zabbix_proxy.log')) { + putHtml('<option value="'.$file.'">Zabbix Proxy log</option>'); + } if (is_file($file = '/stat/etc/rc.conf')) { putHtml('<option value="'.$file.'">Default System Variables</option>'); } Modified: branches/1.0/package/webinterface/altweb/admin/zabbix.php =================================================================== --- branches/1.0/package/webinterface/altweb/admin/zabbix.php 2012-09-01 19:17:59 UTC (rev 5655) +++ branches/1.0/package/webinterface/altweb/admin/zabbix.php 2012-09-02 00:30:32 UTC (rev 5656) @@ -145,7 +145,7 @@ } elseif ($result == 10) { putHtml('<p style="color: green;">Zabbix Monitoring has Restarted.</p>'); } elseif ($result == 11) { - putHtml('<p style="color: green;">Settings saved, click "Restart Client" to apply any changed settings.</p>'); + putHtml('<p style="color: green;">Settings saved, click "Restart Zabbix" to apply any changed settings.</p>'); } elseif ($result == 99) { putHtml('<p style="color: red;">Action Failed.</p>'); } elseif ($result == 999) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |