Double unit in Graph presentation

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
nms
Posts: 222
Joined: Wed Sep 28, 2016 9:35 am

Double unit in Graph presentation

Post by nms »

Hi,

I have a script checking the diskspace utilization. The script returns a correct structure for performance data

Code: Select all

DISK / OK - total: 98G - used: 2.8G (6%) - free 53G (94%) | Percentage_used=6%;80;90;
When checked in Nagios, the performance data is also correct (see attachment). However when checking the performance graph it displays a double unit, i.e a %% (see attachment)

Of course if we remove the unit from the performance data output, the graph will take the value (example: 6) as a y-axis title.

Rgds,

Matthew
You do not have the required permissions to view the files attached to this post.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Double unit in Graph presentation

Post by npolovenko »

Hello, @nms. Would you be able to share the script with us? That way we could test it in our environment in order to better understand whats going on.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
nms
Posts: 222
Joined: Wed Sep 28, 2016 9:35 am

Re: Double unit in Graph presentation

Post by nms »

Hi,

The issue is whenever there is a percentage unit present, being from a script or else directly by command.
For example if you just add a host using the ssh proxy wizard, and check the performance graph of the host the packet loss (pl) will show you %%.

Matt
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Double unit in Graph presentation

Post by dwhitfield »

Can you PM me your Profile? You can download it by going to Admin > System Config > System Profile and click the ***Download Profile*** button towards the top. If for whatever reason you *cannot* download the profile, please put the output of View System Info (5.3.4+, Show Profile if older) in the thread (that will at least get us some info). This will give us access to many of the logs we would otherwise ask for individually. If security is a concern, you can unzip the profile take out what you like, and then zip it up again. We may end up needing something you remove, but we can ask for that specifically.

You can also generate a profile manually using the script at /usr/local/nagiosxi/html/includes/components/profile/getprofile.sh

That should generate a profile in /usr/local/nagiosxi/var/components/ which you can get off the server with an application such as FileZilla.

After you PM the profile, please update this thread. Updating this thread is the only way for it to show back up on our dashboard.

If you get an error that PROFILE BUILD FAILED, please see https://support.nagios.com/kb/article.p ... ategory=44
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Double unit in Graph presentation

Post by npolovenko »

@nms, I think that is actually a known bug and it is going to be fixed in XI 5.4.12. I was able to see those double percent signs in the ping graph also. XI 5.4.12 is scheduled to be released tomorrow. Thanks for your input!
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
nms
Posts: 222
Joined: Wed Sep 28, 2016 9:35 am

Re: Double unit in Graph presentation

Post by nms »

Confirmed working after upgrade.

Thanks, you may close this ticket.

Matt
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Double unit in Graph presentation

Post by npolovenko »

@nms, Sounds good, thanks for your input!
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked