Nagios Plugin for Cacti (NPC) 2.x - Preview
Moderators: Developers, Moderators
- chrisgapske
- Cacti User
- Posts: 278
- Joined: Tue May 22, 2007 7:56 am
- Location: Pensacola, Fl - Padacuh, Ky-Alpena, MI-Gulf Shores,AL
- divagater
- Cacti User
- Posts: 191
- Joined: Wed Nov 17, 2004 5:22 pm
- Location: Chapel Hill, NC.
- Contact:
I am apparently horrible at estimating how long things will take but I am really getting close now. The alpha version will be for the brave and hardy to shake down the UI. For the last week I have been working on implementing all of the most useful Nagios commands. This part is pretty tedious because there are a lot of forms and the forms all implement a little business logic to build the command correctly. I will probably do the first release after I am done building all these command forms (Maybe this weekend if my wife lets me stay inside
Below are a couple points of what to expect with the 1st release.
* The UI will have everything needed for monitoring. In some cases like the status map and the reporting I simply wrapped the nagios UI in an iFrame minus the left hand menu. You can see an example of this in the status map screen shot in my first post.
* Actual Cacti integration will be weak at first. The UI is of course fully integrated into Cacti. There is a one way Nagios to Cacti host sync, and a php script that makes getting Nagios perfdata very easy. Easy does not mean automatic but I think it will be very useful for people wanting to trend nagios perfdata.
* There are numerous other data points where deeper integration into Cacti makes sense. Those will come some time after the 1st alpha release.
* Requirements: For those that want to get ready the requirments are pretty rigid at the moment. PHP 5.2, Cacti 0.8.7b, Nagios 3.0, ndoutils-1.4b7.
Cheers,
Billy
Below are a couple points of what to expect with the 1st release.
* The UI will have everything needed for monitoring. In some cases like the status map and the reporting I simply wrapped the nagios UI in an iFrame minus the left hand menu. You can see an example of this in the status map screen shot in my first post.
* Actual Cacti integration will be weak at first. The UI is of course fully integrated into Cacti. There is a one way Nagios to Cacti host sync, and a php script that makes getting Nagios perfdata very easy. Easy does not mean automatic but I think it will be very useful for people wanting to trend nagios perfdata.
* There are numerous other data points where deeper integration into Cacti makes sense. Those will come some time after the 1st alpha release.
* Requirements: For those that want to get ready the requirments are pretty rigid at the moment. PHP 5.2, Cacti 0.8.7b, Nagios 3.0, ndoutils-1.4b7.
Cheers,
Billy
-
- Posts: 20
- Joined: Tue Apr 25, 2006 6:08 am
Hey -
I have this installed, and it's working great - the interface is a huge improvement! I'm wondering if there are plans to actually have Nagios query the Cacti RRD files for host status, rather than having Nagios/Cacti poll the host twice for each OID that is monitored? It seems like these two features could be relatively easily combined, especially if used in conjunction with the Cacti plugin that lets you poll hosts in whatever interval you want (1min, 2min, 5min, etc).
Thanks again for a great improvement!
Greg
###############################################
RHELv4
PHP 5.2.5
Nagios 3.0.1
ndoutils 1.4b7
Apache 2.2.8
MySQL 5.0.51a
NPC 2.0.0a.151
I have this installed, and it's working great - the interface is a huge improvement! I'm wondering if there are plans to actually have Nagios query the Cacti RRD files for host status, rather than having Nagios/Cacti poll the host twice for each OID that is monitored? It seems like these two features could be relatively easily combined, especially if used in conjunction with the Cacti plugin that lets you poll hosts in whatever interval you want (1min, 2min, 5min, etc).
Thanks again for a great improvement!
Greg
###############################################
RHELv4
PHP 5.2.5
Nagios 3.0.1
ndoutils 1.4b7
Apache 2.2.8
MySQL 5.0.51a
NPC 2.0.0a.151
-
- Posts: 10
- Joined: Thu Feb 14, 2008 1:38 am
- Location: SF Bay, California
I finally got NPC 2.0.0b (Build 164) working. The most challenging part was locating a php 5.1 x64 rpm for my Redhat 4 and rebuilding for 32 bit, then having to build json on top of that. After all is setup, now I can say: what a great piece of work npc is.
I'm wondering if there will be an import feature for service checks, as there are for hosts. I am already using nagiosgraph to drraw them, but it requires a bit of grunt work to link all of the data sources up and set the graph settings. I haven't used the part of nagiosgraph to link the graph urls in with nagios yet, because I'm thinking it would be nice to have it all exist in cacti.
Anyhow, this is a great integration plugin. Good work and I look forward to doing betas on the new versions.
I'm wondering if there will be an import feature for service checks, as there are for hosts. I am already using nagiosgraph to drraw them, but it requires a bit of grunt work to link all of the data sources up and set the graph settings. I haven't used the part of nagiosgraph to link the graph urls in with nagios yet, because I'm thinking it would be nice to have it all exist in cacti.
Anyhow, this is a great integration plugin. Good work and I look forward to doing betas on the new versions.
-
- Posts: 10
- Joined: Thu Feb 14, 2008 1:38 am
- Location: SF Bay, California
One comment: Nagios 3.x does support multi-line output. It would be great to have this for NPC as well. If this could also be displayed in the 'tactical overview' equivalent (as opposed to just in the 'service detail' equivalent), it would take full advantage of displaying multi-line plugin output. Please add this to the wishlist!
Thanks!
Thanks!
Who is online
Users browsing this forum: No registered users and 2 guests