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):
NURD - Nagios-Cacti Unified Reporting Dashboard
Moderators: Developers, Moderators
-
- Posts: 1
- Joined: Tue Aug 24, 2010 6:10 pm
NURD - Nagios-Cacti Unified Reporting Dashboard
- Attachments
-
- nurd_1.0.tar.gz
- (99.41 KiB) Downloaded 419 times
-
- nurd_screenshot.png (58.69 KiB) Viewed 5529 times
Re: NURD - Nagios-Cacti Unified Reporting Dashboard
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
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 (25.64 KiB) Viewed 4026 times
Re: NURD - Nagios-Cacti Unified Reporting Dashboard
Hi, zoemu, good job anyway. What were your step-by-step actions?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
Re: NURD - Nagios-Cacti Unified Reporting Dashboard
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
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
Who is online
Users browsing this forum: No registered users and 0 guests