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.
praveen.ks
Posts: 41
Joined: Wed May 29, 2013 5:35 pm

Need Nagios Reports In

Post by praveen.ks »

HI,


Hi, I configure Nagios 3.2 Core and everything is working fine, i need nagios reports in excel file. Anyone can help me ?[/b][/b]
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Need Nagios Reports In

Post by abrist »

You can import xml into excel, so you may want to look at the exchange:
http://exchange.nagios.org/index.php?op ... chword=xml

Otherwise, I have yet to find much for the newer versions of nagios.
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 »

Can you please tell me, How to configure it, please suggest one tool to do, just i need Nagios reports in Excel.
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 »

You could take a look at using:

http://exchange.nagios.org/directory/Ad ... ne/details

The file inside of the tarball has installation instructions starting about 20 lines down.
praveen.ks
Posts: 41
Joined: Wed May 29, 2013 5:35 pm

Re: Need Nagios Reports In

Post by praveen.ks »

got a error ::::

[root@ns cgi-bin]# ./nxe.pl status ststuslog1 > output.xml


Can't locate XML/Writer.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 52.
BEGIN failed--compilation aborted at ./nxe.pl line 52.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Need Nagios Reports In

Post by abrist »

Looks like you need the XMLWriter perl package. What linux distro are you on?
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 »

Centos 5.6
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Need Nagios Reports In

Post by abrist »

Install the following package and try the script again:

Code: Select all

yum install perl-XML-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 »

This package is already installed
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Need Nagios Reports In

Post by sreinhardt »

OK, then lets validate that it is installed in the right spot or that your perl path includes this location.

Code: Select all

sudo updatedb
locate Writer.pm
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.
Locked