Been messing around with the UK terror alert plugin just as a fun way to demonstrate to colleagues/managers what can be done with Nagios. How ever the plugin does not work. If I try to run the plugin or install the "Acme-Terror-UK" perl module during the "make test" I get the following error.
Error: Can't locate Encode/Locale.pm in @INC (@INC contains: /tmp/Acme-Terror-UK-0.06/blib/lib /tmp/Acme-Terror-UK-0.06/blib/arch /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /usr/lib/perl5/site_perl/5.8.8/LWP/UserAgent.pm line 976.
Downloading Encode::Locale fixed the installer. But the plugin still does not work. Then when I create a perl script as per the CPAN article to fetch the current alert level it just displays
Current terror alert level is:
and no data is there still something I'm doing wrong or the actual module just broken? perhaps a redesign of the MI5 site has broken it.