Hi All,
I’ve just added the dpkg agent script for the agent to a server, it already had other agents on it which are all working OK (apache, ntp etc.).
Now, when I ./dpkg locally it gives the package list just fine. However, Observium shows the package list with some extra items at the top which read <blank> and “Fatal error:”
[cid:image001.png@01CF6C41.93B4FDE0]
Now on every poll (manual or scheduled) I also get the event log entry “System Arch -> Directive”
[cid:image002.png@01CF6C41.F2135120]
This dpkg script is working fine on all the other hosts I run it on, and everything else is working fine on this particular host apart from this element of the dpkg script.
If I run the agent module in debug then I notice that at the end of the script I get:
Fatal error: Directive 'allow_call_time_pass_reference' is no longer available in PHP in Unknown on line 0 Fatal error: Directive 'allow_call_time_pass_reference' is no longer available in PHP in Unknown on line 0 )
So I guess this is what is being interpreted by the poller as a ‘package’ and the ‘architecture’ of the system.
However, I do not get this error when I run it locally, only when it’s run from Observium remotely.
So - Any ideas or suggestions what to try next?
Target host is Ubuntu 14.04 LTS (3.13.0-24-generic x86_64) and I have several others running 14.04 which are polling fine as far as I’m aware.
Cheers!
Robert Williams Custodian Data Centre Email: Robert@CustodianDC.com http://www.CustodianDC.com