nagiosmap.pl

carole verdon verdon at cict.fr
Tue Jul 27 11:29:04 CEST 2004


Hi,

I want to use the nagiosmap addon but i have got problems at the time of 
the execution of nagiosmap.pl under nagios user.

$ ./nagiosmap.pl
Can't locate loadable object for module Tk::Event in @INC (@INC 
contains: /usr/local/lib/perl5/5.8.3/sun4-solaris 
/usr/local/lib/perl5/5.8.3 
/usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris 
/usr/local/lib/perl5/site_perl/5.8.3 /usr/local/lib/perl5/site_perl .) 
at /usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris/Tk.pm line 13
Compilation failed in require at 
/usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris/Tk.pm line 13.
BEGIN failed--compilation aborted at 
/usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris/Tk.pm line 13.
Compilation failed in require at ./nagiosmap.pl line 60.
BEGIN failed--compilation aborted at ./nagiosmap.pl line 60.
Undefined subroutine &Tk::Event::CleanupGlue called at 
/usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris/Tk/Event.pm line 3.
END failed--call queue aborted at ./nagiosmap.pl line 60.

I installed this addon on solaris and i installed also the required 
packages.

$ uname -a
SunOS lerins.cict.fr 5.8 Generic_108528-27 sun4u sparc SUNW,Sun-Blade-100

Nagios 1.2
Perl 5.8.3
Tk-804.027
Tk-FileDialog-1.3
Locale::gettext-1.01
File::Basename --> already present


I searched on www.cpan.org and i found that Tk::Event is included in 
Tk-804.027 that i already installed:

*Tk::Event* <http://search.cpan.org/author/NI-S/Tk-804.027/Event/Event.pm>
Tk-804.027 <http://search.cpan.org/%7Eni-s/Tk-804.027/> - 11 Apr 2004 - 
Nick Ing-Simmons <http://search.cpan.org/%7Eni-s/>


I don't understand why I have got those errors.


On the other hand, if i execute nagiosmap.pl under root, i don't have 
the same errors. What is the solution?

# ./nagiosmap.pl
couldn't connect to display ":0" at 
/usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris/Tk/MainWindow.pm line 55.
MainWindow->new(-title,NagiosMap) at ./nagiosmap.pl line 94

I need help. Can you put me on the good direction?

Thanks for advance.

Carole.




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list