Pnp4Nagios Future

1,071 views
Skip to first unread message

Fabrice Le Dorze

unread,
Jan 11, 2021, 10:43:13 AM1/11/21
to Thruk

We use Pnp4nagios with Thruk/nameon backend.
but the development seems to be stopped since 2017.
Not better for Nagflux/Histou solution. Remark : the preview of Grafafa/Histou graph in Thruk does not seem to be implemented.
Our problem is compatibility of Pnp4Nagios wih PHP version of more recent servers.

What do you advice as replacement ?
Were are wondering if we should continue the development of pnp4nagios.
Thx

Sven Nierlein

unread,
Jan 12, 2021, 5:29:02 AM1/12/21
to th...@googlegroups.com, Fabrice Le Dorze
Hi,

afaik there will be no further development on pnp. You would have to invest lots of manpower to
compete with current solutions like grafana. Besides that it still works quite well, some minor
patches here and there to get it working with latest php. Grafana/Influx/Histou/Nagflux require definitly
more time to maintain. But so far, we migrated most of our customers to Grafana and Influx.
Our customers liked they can now easily create their own graphs and dashboards and the more modern
looking graphs.

Cheers,
Sven

Btw, we maintain a few patches here:
https://github.com/ConSol/omd/tree/labs/packages/pnp4nagios/patches
> --
> You received this message because you are subscribed to the Google Groups "Thruk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to thruk+un...@googlegroups.com <mailto:thruk+un...@googlegroups.com>.
> To view this discussion on the web visit https://groups.google.com/d/msgid/thruk/e4036fe9-832b-40e1-9c8f-732fa8d76a28n%40googlegroups.com <https://groups.google.com/d/msgid/thruk/e4036fe9-832b-40e1-9c8f-732fa8d76a28n%40googlegroups.com?utm_medium=email&utm_source=footer>.

bjornf

unread,
Feb 27, 2021, 4:55:52 AM2/27/21
to Thruk
Hi Sven,

Related to this. I want to start migrating to Grafana but I guess we need to keep pnp4nagios for quite some time.  What is the best way in Thruk to have graph links to both for e.g a service? 

I have the naemon/mod-gearman/nagflux/influxdb/grafana already setup. 

Been trying with _THRUK_ACTION_MENU where I get "connection refused" to Grafana even though the same link works fine when opened separately.  Maybe there is a better way? I guess you can only have one action_url though?!

Regards, Bjorn

Sven Nierlein

unread,
Feb 28, 2021, 7:27:21 AM2/28/21
to th...@googlegroups.com, bjornf
You have to decide which one you want to have integrated in Thruk in terms of reporting, popups and extinfo page.
Besides that you can create custom action menus with to old graphing tool. Action Menus can open in new tabs by
adding the target = _blank attribute. If the link is the same, you should see the same result.
You can only have a single action url, but your thruk action menu can have as many icons as you like.

On 27.02.21 10:55, bjornf wrote:
> Hi Sven,
>
> Related to this. I want to start migrating to Grafana but I guess we need to keep pnp4nagios for quite some time.  What is the best way in
> Thruk to have graph links to both for e.g a service?
>
> I have the naemon/mod-gearman/nagflux/influxdb/grafana already setup.
>
> Been trying with _THRUK_ACTION_MENU where I get "connection refused" to Grafana even though the same link works fine when opened
> separately.  Maybe there is a better way? I guess you can only have one action_url though?!
>
> Regards, Bjorn
>
>
> On Tuesday, January 12, 2021 at 11:29:02 AM UTC+1 Sven Nierlein wrote:
>
> Hi,
>
> afaik there will be no further development on pnp. You would have to invest lots of manpower to
> compete with current solutions like grafana. Besides that it still works quite well, some minor
> patches here and there to get it working with latest php. Grafana/Influx/Histou/Nagflux require definitly
> more time to maintain. But so far, we migrated most of our customers to Grafana and Influx.
> Our customers liked they can now easily create their own graphs and dashboards and the more modern
> looking graphs.
>
> Cheers,
> Sven
>
> Btw, we maintain a few patches here:
> https://github.com/ConSol/omd/tree/labs/packages/pnp4nagios/patches <https://github.com/ConSol/omd/tree/labs/packages/pnp4nagios/patches>
>
>
> On 11.01.21 16:43, Fabrice Le Dorze wrote:
> >
> > We use Pnp4nagios with Thruk/nameon backend.
> > but the development seems to be stopped since 2017.
> > Not better for Nagflux/Histou solution. Remark : the preview of Grafafa/Histou graph in Thruk does not seem to be implemented.
> > Our problem is compatibility of Pnp4Nagios wih PHP version of more recent servers.
> >
> > What do you advice as replacement ?
> > Were are wondering if we should continue the development of pnp4nagios.
> > Thx
> >
> > --
> > You received this message because you are subscribed to the Google Groups "Thruk" group.
> > To unsubscribe from this group and stop receiving emails from it, send an email to thruk+un...@googlegroups.com
> <mailto:thruk+un...@googlegroups.com>.
> > To view this discussion on the web visit
> https://groups.google.com/d/msgid/thruk/e4036fe9-832b-40e1-9c8f-732fa8d76a28n%40googlegroups.com
> <https://groups.google.com/d/msgid/thruk/e4036fe9-832b-40e1-9c8f-732fa8d76a28n%40googlegroups.com>
> <https://groups.google.com/d/msgid/thruk/e4036fe9-832b-40e1-9c8f-732fa8d76a28n%40googlegroups.com?utm_medium=email&utm_source=footer
> <https://groups.google.com/d/msgid/thruk/e4036fe9-832b-40e1-9c8f-732fa8d76a28n%40googlegroups.com?utm_medium=email&utm_source=footer>>.
>
> --
> You received this message because you are subscribed to the Google Groups "Thruk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to thruk+un...@googlegroups.com
> <mailto:thruk+un...@googlegroups.com>.
> To view this discussion on the web visit https://groups.google.com/d/msgid/thruk/35da4a7d-6035-4097-bc1d-75a183994f51n%40googlegroups.com
> <https://groups.google.com/d/msgid/thruk/35da4a7d-6035-4097-bc1d-75a183994f51n%40googlegroups.com?utm_medium=email&utm_source=footer>.

bjornf

unread,
Feb 28, 2021, 10:00:27 AM2/28/21
to Thruk
I guess that is fine. Any clue why target "_self" does not work? Meaning open Grafana in the Thruk right frame? Not in a new windows/tab. 

Sven Nierlein

unread,
Feb 28, 2021, 10:38:20 AM2/28/21
to th...@googlegroups.com, bjornf
Both should work. The target was only meant for easier debugging. If the link is valid, it should work with either target.
> > <https://groups.google.com/d/msgid/thruk/35da4a7d-6035-4097-bc1d-75a183994f51n%40googlegroups.com?utm_medium=email&utm_source=footer
> <https://groups.google.com/d/msgid/thruk/35da4a7d-6035-4097-bc1d-75a183994f51n%40googlegroups.com?utm_medium=email&utm_source=footer>>.
>
> --
> You received this message because you are subscribed to the Google Groups "Thruk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to thruk+un...@googlegroups.com
> <mailto:thruk+un...@googlegroups.com>.
> To view this discussion on the web visit https://groups.google.com/d/msgid/thruk/47daf732-4161-4d92-8ccc-0dbc979603f6n%40googlegroups.com
> <https://groups.google.com/d/msgid/thruk/47daf732-4161-4d92-8ccc-0dbc979603f6n%40googlegroups.com?utm_medium=email&utm_source=footer>.

bjornf

unread,
Mar 1, 2021, 2:49:01 AM3/1/21
to Thruk
Hi,

Trying to load it in the same frame is blocked by: 

"Refused to display ...... in a frame because it set 'X-Frame-Options' to 'deny'."
"Uncaught DOMException: Blocked a frame with origin ..... from accessing a cross-origin frame."

Shown in Chrome developer tools. Maybe related to having different FQDN for Thruk and histou/grafana. 

Regards, Bjorn

Sven Nierlein

unread,
Mar 1, 2021, 2:54:30 AM3/1/21
to th...@googlegroups.com, bjornf
Thats a config option of grafana. You have to set "allow_embedding = true" in your grafana.ini in the security block.



Am 01.03.21 um 8:49 schrieb bjornf:
> > <https://groups.google.com/d/msgid/thruk/47daf732-4161-4d92-8ccc-0dbc979603f6n%40googlegroups.com?utm_medium=email&utm_source=footer <https://groups.google.com/d/msgid/thruk/47daf732-4161-4d92-8ccc-0dbc979603f6n%40googlegroups.com?utm_medium=email&utm_source=footer>>.
>
> --
> You received this message because you are subscribed to the Google Groups "Thruk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to thruk+un...@googlegroups.com <mailto:thruk+un...@googlegroups.com>.
> To view this discussion on the web visit https://groups.google.com/d/msgid/thruk/7f03f842-505d-4a4b-9e15-e1b95ea3b59dn%40googlegroups.com <https://groups.google.com/d/msgid/thruk/7f03f842-505d-4a4b-9e15-e1b95ea3b59dn%40googlegroups.com?utm_medium=email&utm_source=footer>.

bjornf

unread,
Mar 1, 2021, 4:51:09 AM3/1/21
to Thruk
Yes, that was it. Thanks a lot!
Reply all
Reply to author
Forward
0 new messages