Error graph

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
bashar.abed
Posts: 153
Joined: Tue Oct 11, 2016 1:34 am
Location: Ramallah West Bank Palestine
Contact:

Error graph

Post by bashar.abed »

Hi,

We have nagios Xi 5.5.7 vm machine ,if i go to Graph Explorer to check the graph we have fake information as attached graph

the threshold Waring and critical line is not correct because the memory is ok and not critical


[[email protected] ~]$ /usr/local/nagios/libexec/check_snmp_mem.pl -H x.x.x.x -C jawwal-snmp --v2c -w 90%,90% -c 95%,95% -f
Ram : 19%, Swap : 0% : ; OK | ram_used=51379988;237459409;250651599;0;263843788 swap_used=54064;30412796;32102396;0;33791996

Thanks
You do not have the required permissions to view the files attached to this post.
bashar.abed
Posts: 153
Joined: Tue Oct 11, 2016 1:34 am
Location: Ramallah West Bank Palestine
Contact:

Re: Error graph

Post by bashar.abed »

and how can put the line critical and warning about this graph

Performance Graphs
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: Error graph

Post by npolovenko »

Hello, @bashar.abed. What's the total amount of ram do you have on the SNMP storage device?
The second perfgraf generates threshold lines automatically and it only works for plugins with a simple logic, they need to only measure one particular perfdata data source. This plugin measures two data sources: ram and swap.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
bashar.abed
Posts: 153
Joined: Tue Oct 11, 2016 1:34 am
Location: Ramallah West Bank Palestine
Contact:

Re: Error graph

Post by bashar.abed »

Hi,

the first graph you notice the lines warning and critical is fake and please see the command the memory is ok

what is wrong
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Error graph

Post by npolovenko »

@bashar.abed , I also had issues with this plugin and Nagios was showing incorrect threshold lines. Please try using the alternative plugin instead. Go to Configure -> Configuration Wizards and search for the "Linux SNMP" wizard. Follow the wizard to add a memory check, let it run for a few hours and then use it in the Graph Explorer instead of the old one. Let me know whether threshold lines display correctly.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked