Issue with NagVis Weathermap Lines - Not showing percentage

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
acentek
Posts: 123
Joined: Thu Jul 27, 2017 2:00 pm

Issue with NagVis Weathermap Lines - Not showing percentage

Post by acentek »

We are having an issue in NagVis with Weathermap Lines. When we change to the ----%--><--%---- line_type, we only see the BW and do not see any percentages. When we hover over the line we get the following error message: (Weathermap Line Error: Value 1 is not a percentage value) I'm not sure what to do about this? I'm guessing it's related to why we don't see a percentage number on the map as well. NagVis Version 1.9.14
You do not have the required permissions to view the files attached to this post.
Last edited by acentek on Tue Sep 03, 2019 2:28 pm, edited 1 time in total.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Issue with NagVis Weathermap Lines - Not showing percent

Post by tgriep »

Take a look at the Nagvis documentation for Weathermap style lines.
http://docs.nagvis.org/1.9/en_US/lines_ ... style.html

The performance output of the Bandwidth check does not meet the criteria defined in the Needed Perfdata format section on the web page and that is what is causing the error message.

It will display the bandwidth but when it comes to the Percentage, it will output that message as the plugin does not display percentage in the performance output.
Be sure to check out our Knowledgebase for helpful articles and solutions!
acentek
Posts: 123
Joined: Thu Jul 27, 2017 2:00 pm

Re: Issue with NagVis Weathermap Lines - Not showing percent

Post by acentek »

So the plugin linked on this page is actually needed? I was confused by the wording and was thinking the plugin wasn't needed.

Thanks!
acentek
Posts: 123
Joined: Thu Jul 27, 2017 2:00 pm

Re: Issue with NagVis Weathermap Lines - Not showing percent

Post by acentek »

Added the plugin: check_iftraffic64.pl and put the check_net_status.php in the: /usr/local/nagios/share/pnp/templates/ directory (closest I could find to what was suggested in the article). Added a "Traffic" folder in: /usr/local/nagios/libexec for the tmp files to go to. But nothing is working - no tmp files going into the Traffic folder. I'm not sure what pieces I'm missing to make this all come together?

Article I'm finding: https://exchange.nagios.org/directory/P ... 64/details
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Issue with NagVis Weathermap Lines - Not showing percent

Post by cdienger »

What does your service check look like? Did you update the map to use a new service check? I've attached a couple of screenshots showing my setup(yours will likely be slightly different. Mine is more POC).

Also, remove the template that was imported if you just copied it over via the command line. Instead upload it under Admin > System Extensions > Manage Graph Templates to make sure the permissions are set correctly on it.
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
acentek
Posts: 123
Joined: Thu Jul 27, 2017 2:00 pm

Re: Issue with NagVis Weathermap Lines - Not showing percent

Post by acentek »

Thanks cdienger! This pointed me in the right direction, I hadn't done any of what you suggested, which makes sense why nothing was polling. Forgive me, i'm new to the ins of Nagios and NagVis so I'm learning.

Like you show in your screenshots, I get "0.0%" for the line, but no errors, so is there still something missing to read the percentage or is the traffic for this particular interface just that low, which could be, it's a warehouse with 200 MBytes going back and forth.

Thanks for your help!
Eric
You do not have the required permissions to view the files attached to this post.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Issue with NagVis Weathermap Lines - Not showing percent

Post by cdienger »

It could be that the amount of traffic is just verify low. My example was from a lab machine with hardly any traffic, but I do see values other than 0.0% when it is downloading large files. You can verify that it is working by running it from the command line. For example:

Code: Select all

/usr/local/nagios/libexec/check_iftraffic64 -H switch_ip -c public -i eth0
It should show the total RX and TX. Example output:

Code: Select all

OK - Average IN: 15.37MB (1.23%), Average OUT: 604.20KB (0.05%)Total RX: 961.61MBytes, Total TX: 10.68MBytes|inUsage=1.23%;85;public outUsage=0.05%;85;public inBandwidth=15371487.00B outBandwidth=604198.00B inAbsolut=961614666c outAbsolut=10676591c
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
acentek
Posts: 123
Joined: Thu Jul 27, 2017 2:00 pm

Re: Issue with NagVis Weathermap Lines - Not showing percent

Post by acentek »

Thanks cdienger, I was able to verify that the bandwidth is so low that 0% is accurate. We pushed some large ping packets and saw the percentage move so that's good. Appreciate your help.

Thanks!
Locked