NURD - Nagios-Cacti Unified Reporting Dashboard

Addons for Cacti and discussion about those addons

Moderators: Developers, Moderators

Post Reply
fatalglory
Posts: 1
Joined: Tue Aug 24, 2010 6:10 pm

NURD - Nagios-Cacti Unified Reporting Dashboard

Post by fatalglory »

NURD Release 1.0

NURD is the Nagios-Cacti Unified Reporting Dashboard. It basically uses AJAX requests to pull data from both your Nagios3 installation and your Cacti installation into a single, well-formatted report.

Install it into the plugins directory of your Cacti install, set up the environment variables (documentation is included in the archive) and point your boss at the dashboard to get their fix of lights and numbers.

I developed this at work, but it was ultimately discarded in favour of another solution. Works just fine for me though, and I still use it day to day.
Enjoy everyone.

-Nick

Obligitory screenshot attached (hard to capture full effect since it is a big report):
Attachments
nurd_1.0.tar.gz
(99.41 KiB) Downloaded 419 times
nurd_screenshot.png
nurd_screenshot.png (58.69 KiB) Viewed 5530 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Sounds interesting!
Please consider publishing at 3rd link of my sig, the official repository for plugins
R.
User avatar
zoemu
Cacti User
Posts: 287
Joined: Fri Jul 10, 2009 1:38 pm
Location: Toronto, Canada

Re: NURD - Nagios-Cacti Unified Reporting Dashboard

Post by zoemu »

hi "fataglory":

I think this is very nice, I've trying to get it to work but I do not het anything on it.......just an eternal Querying Database...

see attached..

any ideas ?? I have all the optioons entered as described in the pdf file.

thanks

LA
Attachments
Capture.PNG
Capture.PNG (25.64 KiB) Viewed 4027 times
Slyck
Posts: 1
Joined: Tue Oct 18, 2011 2:38 am

Re: NURD - Nagios-Cacti Unified Reporting Dashboard

Post by Slyck »

zoemu wrote:hi "fataglory":

I think this is very nice, I've trying to get it to work but I do not het anything on it.......just an eternal Querying Database...

see attached..

any ideas ?? I have all the optioons entered as described in the pdf file.

thanks

LA
Hi, zoemu, good job anyway. What were your step-by-step actions?
User avatar
zoemu
Cacti User
Posts: 287
Joined: Fri Jul 10, 2009 1:38 pm
Location: Toronto, Canada

Re: NURD - Nagios-Cacti Unified Reporting Dashboard

Post by zoemu »

Slyck:

it is not that difficult:

place Nurd in the plugins directory under cacti, (of course have nagios running as well) then follow the instructions from the Documentation.pdf

Open html_report.js in your favorite text editor and set the variables at the top of the file as
follows:

nagios_cgi – Path to your Nagios3 installation's cgi folder (where avail.cgi is located).
nagios_root – Path to your Nagios3 installation's web root
cacti_root – Path to your Cacti installation's web root
nurd_root – Path to your NURD installation's base folder (in our example above, this was
/var/www/cacti/plugins/nurd).

if you are using Ubuntu

/usr/share/cacti/site/plugins


Now open up index.php and set these variables:

nagios_db_host – the host where the Nagios/ndo2db database is located (probably localhost)
nagios_db_port – the port to access the Nagios database host on (blank for default).
nagios_db_name – the name of the Nagios database on the server.
nagios_db_user – the username to use when accessing the Nagios database.
nagios_db_pass – the password to use when accessing the Nagios database.
nagios_db_prefix – the prefix on the Nagios database's table names (often “nagios_”).
cacti_rootdir – the relative path to the cacti web root (for including Cacti PHP files).

and that's all
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests