Hi.

Has anyone managed to get pnp4nagios graphs working with Icinga2?

I'm trying to follow the documentation at 
http://docs.icinga.org/icinga2/latest/doc/module/icinga2/chapter/addons-
plugins

My setup is:

 - Debian 7.10 64-bit
 - Icinga 2.4.10 installed from debmon.org repository
 - Icingaweb 2.3.2 installed from debmon repository
 - pnp4nagios 0.6.19 installed from debmon repository

I've used pnp4nagios with Icinga1 for several years (and to be honest I think 
it should be a standard part of the setup, it's so useful).

I've followed the instructions in paragraph 16.1.1 from the URL above:

 - install pnp4nagios package
 - enable icinga2's perfdata feature
 - restart icinga2
 - set the perfdata_spool_dir for npcd
 - restart npcd

I can confirm that I am getting data fed into the RRDs under 
/var/lib/pnp4nagios/perfdata

I then get stuck.  The next sentence in the instructions is "There's also an 
Icinga Web 2 module for direct PNP graph integration available at 
https://exchange.icinga.org/icinga/PNP4Nagios"; - that URL gives me a 404 Not 
Found.

The final sentence is "More information on action_url as attribute and graph 
template names." which refers to paragraph 16.8.

It's not clear to me whether I should be following the instructions in 
paragraph 16.8.1 (it says "Icinga Web 2 doesn't require the action url 
attribute in its own module" - does that mean Icinga Web 2 doesn't require it 
at all, or just that it doesn't have to be in its own module?)

Paragraph 16.8.2 seems to have incomplete instructions:

 - the "apply Service" stanza has no "assign" or "for" statement, so Icinga2 
rightfully complains on reload

 - the sentence "If there are warnings about unresolved macros make sure to 
specify a default value for vars.pnp_check_arg1 inside the" just stops there.


So, can anyone point me at some guidelines to get pnp4nagios working with 
Icinga2 and Icingaweb2?


Thanks,


Antony.

-- 
"Once you have a panic, things tend to become rather undefined."

 - murble

                                                   Please reply to the list;
                                                         please *don't* CC me.
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to