From 1bc0344b1ac46b3da3853737197f5479368c61e5 Mon Sep 17 00:00:00 2001 From: sorano Date: Mon, 26 Sep 2016 12:09:16 +0200 Subject: [PATCH] Update Applications.md Just tried the Apache agent on Ubuntu 16.04 and got following error: root@librenms:/opt/librenms-agent# /usr/lib/check_mk_agent/local/apache Can't locate LWP/Simple.pm in @INC (you may need to install the LWP::Simple module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /usr/lib/check_mk_agent/local/apache line 14. Solution was to apt-get install libwww-perl. Also added verification step. --- doc/Extensions/Applications.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/Extensions/Applications.md b/doc/Extensions/Applications.md index 449e4182b8..475bdc4094 100644 --- a/doc/Extensions/Applications.md +++ b/doc/Extensions/Applications.md @@ -39,8 +39,11 @@ wget https://raw.githubusercontent.com/librenms/librenms-agent/master/snmp/apach extend apache /etc/snmp/apache-stats.py ``` 4. Restart snmpd on your host -5. On the device page in Librenms, edit your host and check the `Apache` under the Applications tab. -(In some cases urlgrabber needs to be installed, in Debian it can be achieved by: apt-get install python-urlgrabber) +5. Verify it is working by running /usr/lib/check_mk_agent/local/apache +6. (In some cases urlgrabber needs to be installed, in Debian it can be achieved by: apt-get install python-urlgrabber) +7. (If you get error like "Can't locate LWP/Simple.pm". libwww-perl needs to be installed, apt-get install libwww-perl) +8. On the device page in Librenms, edit your host and check the `Apache` under the Applications tab. + ### BIND9 aka named