Nagiosgraph 1.52 and Nagios 4.2.1

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
emi65
Posts: 119
Joined: Fri Aug 17, 2012 3:41 am

Nagiosgraph 1.52 and Nagios 4.2.1

Post by emi65 »

I got problem with Nagiosgraph when the perfdata received fron Nagios allow to create
the .rrd file with special characters

The error is
JavaScript is disabled.
nagiosgraph.js is not installed or wrong version.

Just for example this servicedescription (IS NRPE check) IO_Logical_D_Avg_Disk_sec_Read
creates this perfdata
Performance Data:'\\LogicalDisk(D:)\\Avg. Disk sec/Read'=0\n

and that cretes a perdata .rrd file like this
IIO_Logical_C_Avg_Disk_sec_Read___%5C%5CLogicalDisk%28C%3A%29%5C%5CAvg.%20Disk%20sec%2FRead.rrd

There is a way or perdata directive that allow to clean the spaces or special characters
like ( or \ or / from perfadata ?

Thanks and regards
Emilio
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Nagiosgraph 1.52 and Nagios 4.2.1

Post by avandemore »

Previous Nagios employee
Locked