Acme-Terror-UK "Can't locate Encode/Loacle.pm"

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Malcz86
Posts: 27
Joined: Thu Mar 17, 2011 11:17 am

Acme-Terror-UK "Can't locate Encode/Loacle.pm"

Post by Malcz86 »

Hey all,

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.
Any ideas? am I missing a dependency?
NagiosXI 2011R1.9
CentOs 5.4
32bit
VMWare Image
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: Acme-Terror-UK "Can't locate Encode/Loacle.pm"

Post by nscott »

Give

Code: Select all

cpan -i Encode::Locale
A try.
Nicholas Scott
Former Nagios employee
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Acme-Terror-UK "Can't locate Encode/Loacle.pm"

Post by lmiltchev »

You can also read a little bit more about this module and dependencies here:

http://search.cpan.org/~gaas/Encode-Loc ... /Locale.pm
Be sure to check out our Knowledgebase for helpful articles and solutions!
Malcz86
Posts: 27
Joined: Thu Mar 17, 2011 11:17 am

Re: Acme-Terror-UK "Can't locate Encode/Loacle.pm"

Post by Malcz86 »

Thanks,

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.

All other dependencies are present.
NagiosXI 2011R1.9
CentOs 5.4
32bit
VMWare Image
Locked