That line was in the config file - fixed it to be unix-agent instead of unix_agent and the error is gone....

However, I am getting no data shown in the web interface for any servers that I have setup to use the agent. Looking that the poller output, seems that it is getting data and the rrd files are there and look to be updated, but the graphs are all empty....just changed one of the servers back from the agent to using just snmp and I am again getting data on the graphs for that server...

Suggestions?


Chris

On Wed, Oct 17, 2012 at 11:50 AM, Adam Armstrong <adama@memetic.org> wrote:
This is almost certainly because you have put 'unix_agent' into your config instead of 'unix-agent'.

$config['poller_modules']['unix-agent']                   = 0;

adam.


On 17/10/2012 12:41, Chris Stone wrote:

No data for servers using the unix agent for a couple of weeks now. Have Observium build 3397 installed. Just had a chance to do some troubleshooting...

Running poller update on a specific server in debug mode reveals the apparent problem:


=======================================================================================

including: includes/polling/unix_agent.inc.php
PHP Warning: include(includes/polling/unix_agent.inc.php): failed to open stream: No such file or directory in /opt/observium/includes/polling/functions.inc.php on line 192

Warning: include(includes/polling/unix_agent.inc.php): failed to open stream: No such file or directory in /opt/observium/includes/polling/functions.inc.php on line 192
PHP Warning: include(): Failed opening 'includes/polling/unix_agent.inc.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /opt/observium/includes/polling/functions.inc.php on line 192

Warning: include(): Failed opening 'includes/polling/unix_agent.inc.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /opt/observium/includes/polling/functions.inc.php on line 192

=======================================================================================


Fixed (worked around) by running:

ln -s /opt/observium/includes/polling/unix-agent.inc.php /opt/observium/includes/polling/unix_agent.inc.php


Added to Jira as well:  http://jira.observium.org/browse/OBSERVIUM-154



Chris

--
Chris Stone
AxisInternet, Inc.
www.axint.net


_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium


_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium




--
Chris Stone
AxisInternet, Inc.
www.axint.net