Hello Mcapra,
gglsapdb_DR is the host for example which you can find in the attached file. You can see that the %utilization is52.35% and in status information it is showing OK but its showing red color in %utilization column.
Also please resolve the below issue as the customer is getting panic:
We was getting wrong memory usage for windows server while using check_nt. So we did required changes to NSC.ini in windows and used check_nrpe for getting physical memory. After doing this we are getting correct values of memory usage. But now we are not able to see that windows server under metrics memory usage of naigos xi. We tried the same with 4 windows server and all 4 servers are now not showing in metrics memory usage.
If possible please take a remote and check on this issue directly.
Windows Server Not Showing Memory Usage in Nagios Xi Metrics
Re: Windows Server Not Showing Memory Usage in Nagios Xi Met
You do not have the required permissions to view the files attached to this post.
Re: Windows Server Not Showing Memory Usage in Nagios Xi Met
It looks like the metrics component doesn't currently support CheckMEM, please take the attached file and replace this file:
Then reload the metrics page and let us know if it's now showing up.
Thank you
Code: Select all
/usr/local/nagiosxi/html/includes/utils-metrics.inc.phpThank you
You do not have the required permissions to view the files attached to this post.
Re: Windows Server Not Showing Memory Usage in Nagios Xi Met
Hello SSAX,
I tried replacing the provided file but that too didn't helped. Still i am not able to see windows server in the metrics. Please check the attached docx for understanding the issue i am facing.
I tried replacing the provided file but that too didn't helped. Still i am not able to see windows server in the metrics. Please check the attached docx for understanding the issue i am facing.
You do not have the required permissions to view the files attached to this post.
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: Windows Server Not Showing Memory Usage in Nagios Xi Met
Can you try saving the document as ODT or some more open format. Maybe just uploading the screenshots directly. The docx is not rendering correctly for me.
Previous Nagios employee
Re: Windows Server Not Showing Memory Usage in Nagios Xi Met
Hi,
Please find the screenshots.
Please find the screenshots.
You do not have the required permissions to view the files attached to this post.
Re: Windows Server Not Showing Memory Usage in Nagios Xi Met
Try replacing the utils-metrics.inc.php on your server with the copy that is attached to this post and see if you can see that Metric in the Metrics menu.
Make sure you unzip it first before replacing the copy on the XI server.
Make sure you unzip it first before replacing the copy on the XI server.
You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Windows Server Not Showing Memory Usage in Nagios Xi Met
Hi Tgreip,
After replacing the attached php script i am able to see the windows server in memory usage metrics. But all linux servers are not visible now. I want to tell you onething that we was facing the issue of wrong Value in %Utilization of memory usage metrics for linux server. Sean Sax took the remote and i guess he did some changes to same script and the issue was resolved for linux servers.
Please find the thread below to see that issue and please make changes in script like if it won't affect the solution provided by sean sax.
I am attaching the script which is working properly for all linux servers using check_nrpe and all windows server using check_nt. But this script is not displaying the windows server using check_nrpe.
https://support.nagios.com/forum/viewto ... 16&t=42210
Note:The script provided by you is showing the windows server using check_nrpe. But i am not able to see all linux servers using check_nrpe.
After replacing the attached php script i am able to see the windows server in memory usage metrics. But all linux servers are not visible now. I want to tell you onething that we was facing the issue of wrong Value in %Utilization of memory usage metrics for linux server. Sean Sax took the remote and i guess he did some changes to same script and the issue was resolved for linux servers.
Please find the thread below to see that issue and please make changes in script like if it won't affect the solution provided by sean sax.
I am attaching the script which is working properly for all linux servers using check_nrpe and all windows server using check_nt. But this script is not displaying the windows server using check_nrpe.
https://support.nagios.com/forum/viewto ... 16&t=42210
Note:The script provided by you is showing the windows server using check_nrpe. But i am not able to see all linux servers using check_nrpe.
You do not have the required permissions to view the files attached to this post.
Re: Windows Server Not Showing Memory Usage in Nagios Xi Met
OK, I added the changes from what Sean did earlier and I fixed the issue for the Metrics not being displayed for Linux servers.
Try it out and see if it works for all of your systems.
Try it out and see if it works for all of your systems.
You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Windows Server Not Showing Memory Usage in Nagios Xi Met
Hi Tgriep,
The provided script resolved the issue, but now i can see the incorrect %utilization in memory usage metrics. FYI, this issue is only for those windows server where we are using check_nrpe instead of check_nt.
The provided script resolved the issue, but now i can see the incorrect %utilization in memory usage metrics. FYI, this issue is only for those windows server where we are using check_nrpe instead of check_nt.
You do not have the required permissions to view the files attached to this post.
Re: Windows Server Not Showing Memory Usage in Nagios Xi Met
I took a look at the source code that determines the name of the checks and how it processes the thresholds and display's the performance data and it is a much more complex that we hoped and we will have to get the developers to rewrite the code to get all of the variations to display correctly on the Metrics screen.
You should revert the changes back to before and wait for the developers to re-write the Metrics screen.
You should revert the changes back to before and wait for the developers to re-write the Metrics screen.
Be sure to check out our Knowledgebase for helpful articles and solutions!