Page 1 of 1

Performance Graphs downloads naming for NRPE/NSCLIENT

Posted: Mon Mar 12, 2018 1:08 pm
by dlukinski
Hello Nagios XI support

Wehn we generate PErfoamnce Graph download for SNMP-based checks, we get JPG file named correctly such as
[email protected]_usage.jpg

But in case of NRPE, NCPA or NSclient checks we only get chart.jpg, chart2.jpg and so one.

We sometimes need dozens of such downloads done in a short period of time. Renaming them manually could be too long.
How to fix Nagios to make it generate correct file-names for non-SNMP checks?

Thank you,
Dimitri

Re: Performance Graphs downloads naming for NRPE/NSCLIENT

Posted: Mon Mar 12, 2018 2:08 pm
by lmiltchev
I don't believe this issue has anything to do with the type of checks (SNMP, NRPE, NCPA, etc.). It is a problem with escaping spacial characters.

I was able to recreate the issue when trying to save a chart as JPEG of a service named "/Disk Usage". In this case, the "/" was causing the issue, and the chart was saved as "chart.jpg". I already filed an internal bug report on the issue (task_id=13118).

Our developers have been notified, and will be fixing the issue as soon as they can.

Thank you!

Re: Performance Graphs downloads naming for NRPE/NSCLIENT

Posted: Tue Mar 13, 2018 3:54 pm
by dlukinski
lmiltchev wrote:I don't believe this issue has anything to do with the type of checks (SNMP, NRPE, NCPA, etc.). It is a problem with escaping spacial characters.

I was able to recreate the issue when trying to save a chart as JPEG of a service named "/Disk Usage". In this case, the "/" was causing the issue, and the chart was saved as "chart.jpg". I already filed an internal bug report on the issue (task_id=13118).

Our developers have been notified, and will be fixing the issue as soon as they can.

Thank you!
Please close the case