Need Nagios Reports In

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Need Nagios Reports In

Post by abrist »

Lets see if it is just pathing issues, we need to find the location of the perl module:

Code: Select all

find / -name Writer.pm
Or if you use mlocate:

Code: Select all

updatedb
locate Writer.pm
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
praveen.ks
Posts: 41
Joined: Wed May 29, 2013 5:35 pm

Re: Need Nagios Reports In

Post by praveen.ks »

Not able to find a file Writer.pm
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Need Nagios Reports In

Post by sreinhardt »

Then this package is not installed, please follow the yum install command above and report the entire output back.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
praveen.ks
Posts: 41
Joined: Wed May 29, 2013 5:35 pm

Re: Need Nagios Reports In

Post by praveen.ks »

If you have any documents, step by step installation. if you have please share it.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Need Nagios Reports In

Post by slansing »

Then this package is not installed, please follow the yum install command above and report the entire output back.
This is a basic Linux administrative task thus we do not document these things, documentation of how to use the Yum package manager can be found in their support channels.
praveen.ks
Posts: 41
Joined: Wed May 29, 2013 5:35 pm

Re: Need Nagios Reports In

Post by praveen.ks »

I installed that package, still same error

[root@ns cgi-bin]# rpm -qa perl-XML-Writer
perl-XML-Writer-0.604-1.PU_IAS.5

[root@ns cgi-bin]# ./nxe.pl status statuslog1 > output.xml
Can't locate XML/Writer/String.pm in @INC (@INC contains: /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 ./nxe.pl line 53.
BEGIN failed--compilation aborted at ./nxe.pl line 53.
[root@ns cgi-bin]#
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Need Nagios Reports In

Post by abrist »

Looks like you have another perl dependency issue. Try:

Code: Select all

yum install perl-IO-String
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
praveen.ks
Posts: 41
Joined: Wed May 29, 2013 5:35 pm

Re: Need Nagios Reports In

Post by praveen.ks »

Same error, is there any other option to generate nagios
reports in EXCEL
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Need Nagios Reports In

Post by abrist »

praveen.ks wrote:Same error, is there any other option to generate nagios
reports in EXCEL
Not that I know of. Lets continue to work on dependencies:

Code: Select all

yum install perl-XML-SAX-Writer 
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
praveen.ks
Posts: 41
Joined: Wed May 29, 2013 5:35 pm

Re: Need Nagios Reports In

Post by praveen.ks »

./nxe.pl status statuslog1 > output.xml
Can't locate XML/Writer/String.pm in @INC (@INC contains: /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 ./nxe.pl line 53.
Locked