Issue with NagVis Weathermap Lines - Not showing percentage
Issue with NagVis Weathermap Lines - Not showing percentage
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.
Re: Issue with NagVis Weathermap Lines - Not showing percent
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.
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!
Re: Issue with NagVis Weathermap Lines - Not showing percent
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!
Thanks!
Re: Issue with NagVis Weathermap Lines - Not showing percent
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
Article I'm finding: https://exchange.nagios.org/directory/P ... 64/details
Re: Issue with NagVis Weathermap Lines - Not showing percent
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.
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.
Re: Issue with NagVis Weathermap Lines - Not showing percent
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
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.
Re: Issue with NagVis Weathermap Lines - Not showing percent
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:
It should show the total RX and TX. Example output:
Code: Select all
/usr/local/nagios/libexec/check_iftraffic64 -H switch_ip -c public -i eth0Code: 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=10676591cAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Issue with NagVis Weathermap Lines - Not showing percent
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!
Thanks!