Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
nagios2Docs
2.1.0
2012-09-05
- Nagios 3.x
- Nagios XI
GPL
60348
File | Description |
---|---|
nagios-3.4.1-cgiutils.c.diff | diff file to patch cgi/cgiutils.c |
nagios-3.4.1-status.c.diff | diff file to patch cgi/status.c |
docs_url_example.jpg | Finally you can have something like this. |
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
It is connecting each check to corresponding page on WIKI where you can describe in detail what to do if there is alarm.
I would be happy if Nagios-Team will decide to include it in core distribution.
The patch is adding new feature in core nagios. It allos to integrate nagios with documentation -HowTo systems like Wiki, mediawiki,Confluence .. etc.
It is connecting each check to corresponding page on WIKI where you can describe in detail what to do if there is alarm.
Here is the quick installation guide.
Download latest core version of nagios for example 3.4.1 version.
http://prdownloads.sourceforge.net/sourceforge/nagios/nagios-3.4.1.tar.gz
root@adminx:/usr/local/src# tar -zxvf nagios-3.4.1.tar.gz
root@adminx:/usr/local/src# cd nagios-3.4.1
root@adminx:/usr/local/src/nagios-3.4.1#
Copy the attached 2 files this project to the nagios folder
just verify it
root@adminx:/usr/local/src/nagios-3.4.1# ls -la *.diff
-rw-r--r-- 1 root root 964 Sep 5 17:20 nagios-3.4.1-cgiutils.c.diff
-rw-r--r-- 1 root root 2607 Sep 5 17:22 nagios-3.4.1-status.c.diff
now patch the source codes
root@adminx:/usr/local/src/nagios-3.4.1# patch cgi/status.c < nagios-3.4.1-status.c.diff
root@adminx:/usr/local/src/nagios-3.4.1# cgi/cgiutils.c < nagios-3.4.1-cgiutils.c.diff
Now go a head and compile your nagios as usual.
when nagiso is ready to run add teh following configuration lines into [YOUR_NAGIOS_PATH]/etc/cgi.cfg
# DOCUMENTATION URL (Optional)
# This option is allow to make interconection betwin Nagios and your
# documentation system like wiki,confluence .. etc.
#
# Example:
# docs_url=http://wiki.ghevondyan.net/mediawiki/index.php/Monitroing_HowTo:
# docs_title=HowTo
# docs_icon=/images/info.png
#
docs_url=http://[your wiki page URL]
docs_title=HowTo
docs_icon=/images/info.png
Restart The nagios and enjoy :-)
root@adminx:/usr/local/src/nagios-3.4.1# /etc/init.d/nagios restart
Running configuration check...done.
Stopping nagios: .done.
Starting nagios: done.
Now everything is ready you can go to the nagios web interface and will see the icons linked with the documents on "Service Status Details For All Host Groups" page.
Hope you will like the feature - I implement it in my previews companies Lycos Europe and Orange Armenia. This is really helpful and making very fast and efficient of 1-rs level support work.
If it is needed I can help to have the feature on old version of nagios also.
Thank you
Arsen Ghevondyan
It is connecting each check to corresponding page on WIKI where you can describe in detail what to do if there is alarm.
Here is the quick installation guide.
Download latest core version of nagios for example 3.4.1 version.
http://prdownloads.sourceforge.net/sourceforge/nagios/nagios-3.4.1.tar.gz
root@adminx:/usr/local/src# tar -zxvf nagios-3.4.1.tar.gz
root@adminx:/usr/local/src# cd nagios-3.4.1
root@adminx:/usr/local/src/nagios-3.4.1#
Copy the attached 2 files this project to the nagios folder
just verify it
root@adminx:/usr/local/src/nagios-3.4.1# ls -la *.diff
-rw-r--r-- 1 root root 964 Sep 5 17:20 nagios-3.4.1-cgiutils.c.diff
-rw-r--r-- 1 root root 2607 Sep 5 17:22 nagios-3.4.1-status.c.diff
now patch the source codes
root@adminx:/usr/local/src/nagios-3.4.1# patch cgi/status.c < nagios-3.4.1-status.c.diff
root@adminx:/usr/local/src/nagios-3.4.1# cgi/cgiutils.c < nagios-3.4.1-cgiutils.c.diff
Now go a head and compile your nagios as usual.
when nagiso is ready to run add teh following configuration lines into [YOUR_NAGIOS_PATH]/etc/cgi.cfg
# DOCUMENTATION URL (Optional)
# This option is allow to make interconection betwin Nagios and your
# documentation system like wiki,confluence .. etc.
#
# Example:
# docs_url=http://wiki.ghevondyan.net/mediawiki/index.php/Monitroing_HowTo:
# docs_title=HowTo
# docs_icon=/images/info.png
#
docs_url=http://[your wiki page URL]
docs_title=HowTo
docs_icon=/images/info.png
Restart The nagios and enjoy :-)
root@adminx:/usr/local/src/nagios-3.4.1# /etc/init.d/nagios restart
Running configuration check...done.
Stopping nagios: .done.
Starting nagios: done.
Now everything is ready you can go to the nagios web interface and will see the icons linked with the documents on "Service Status Details For All Host Groups" page.
Hope you will like the feature - I implement it in my previews companies Lycos Europe and Orange Armenia. This is really helpful and making very fast and efficient of 1-rs level support work.
If it is needed I can help to have the feature on old version of nagios also.
Thank you
Arsen Ghevondyan
Reviews (3)
bywhutest, September 4, 2013
Thank you! Here are no problems with installation. Works fine. Is it difficult to modify patch to show wiki-icon only for certain services? For example, if the service uses template "wiki-template".
bycvanaxel, September 10, 2012
Any screenshots?
If i dont want to reinstall nagios again then how can i apply this patch ?
Owner's reply
Hi, In fact you need to recompile the source code for now. The changes was only in 2 files status.cgi and cgiutils.cgi
So you can recompile and overwrite thoese 2 files.
I'm trying to get Nagios team to put this in core and later you will not need to recompile :-) Hope so!..