Skip to content
This repository has been archived by the owner on Jan 15, 2019. It is now read-only.

[dev.icinga.com #4720] Suggested improvements for the sample with pnp4nagios graph #65

Open
icinga-migration opened this issue Sep 19, 2013 · 1 comment

Comments

@icinga-migration
Copy link

This issue has been migrated from Redmine: https://dev.icinga.com/issues/4720

Created by dgoetz on 2013-09-19 13:53:21 +00:00

Assignee: (none)
Status: New
Target Version: Backlog
Last Update: 2015-05-18 12:17:49 +00:00 (in Redmine)


Add process_performance_data to the sql query and a print when expression "$F{process_performance_data} == 1" to the graph image. This would make it possible to use the report for all services without error if process_performance_data is disabled for services not providing those.

Furthermore changing the image expression to the following statement will make it working for services with characters which need encoding and proper support for the dates.

"http://host/pnp4nagios/image?host=" + $F{name1} + "&srv=" + URLEncoder.encode($F{display_name},"ISO-8859-1") + "&start=" + URLEncoder.encode($P{p_date_start}.toString(),"ISO-8859-1") + "&end=" + URLEncoder.encode($P{p_date_end}.toString(),"ISO-8859-1")
@icinga-migration
Copy link
Author

Updated by berk on 2015-05-18 12:17:49 +00:00

  • Target Version set to Backlog

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant