Problems with the Memory Usage graphic

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Cristian Godoy
Posts: 17
Joined: Tue Sep 12, 2017 8:32 am

Problems with the Memory Usage graphic

Post by Cristian Godoy »

I have these 2 machines that are monitored in the same way but the CPC-DW-GWD-SAP-VT-01 with the Memory Usage service presents problems when constructing the function graph
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: Problems with the Memory Usage graphic

Post by npolovenko »

Hello, @Cristian Godoy.
Are you running the same version of check memory plugin on both remote computers? Usually, you can find out the plugin version number by running it locally from /usr/local/nagios/libexec/ with --help flag.
Can you also upload the plugin here?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Cristian Godoy
Posts: 17
Joined: Tue Sep 12, 2017 8:32 am

Re: Problems with the Memory Usage graphic

Post by Cristian Godoy »

npolovenko wrote:Hello, @Cristian Godoy.
Are you running the same version of check memory plugin on both remote computers? Usually, you can find out the plugin version number by running it locally from /usr/local/nagios/libexec/ with --help flag.
Can you also upload the plugin here?
We are using version 0.4.4.23 of the NSClient agent on both machines
kyang

Re: Problems with the Memory Usage graphic

Post by kyang »

So I set up the same check you have, although mine is just slightly different. (my ShowAll is before -a)
check1.PNG
I waited a few mins, and I am receiving perf data/capacity data.
check2.PNG
Are you receiving performance graph data just fine?
You do not have the required permissions to view the files attached to this post.
Cristian Godoy
Posts: 17
Joined: Tue Sep 12, 2017 8:32 am

Re: Problems with the Memory Usage graphic

Post by Cristian Godoy »

kyang wrote:So I set up the same check you have, although mine is just slightly different. (my ShowAll is before -a)
check1.PNG
I waited a few mins, and I am receiving perf data/capacity data.
check2.PNG
Are you receiving performance graph data just fine?
Change the -a of position, the problem persists
kyang

Re: Problems with the Memory Usage graphic

Post by kyang »

Which version of XI are you on?

Just to double check, What's the version of the capacity planning component.

Go to Admin --> Manage Components --> Scroll down to see "Core Components" --> Capacity Planning

Is it the same as this ?

Code: Select all

Capacity Planning
Provides data extrapolation and capacity planning capability. Requires host authorization to view report.
2.2.0   11/30/2015   Nagios Enterprises, LLC
Cristian Godoy
Posts: 17
Joined: Tue Sep 12, 2017 8:32 am

Re: Problems with the Memory Usage graphic

Post by Cristian Godoy »

kyang wrote:Which version of XI are you on?

Just to double check, What's the version of the capacity planning component.

Go to Admin --> Manage Components --> Scroll down to see "Core Components" --> Capacity Planning

Is it the same as this ?

Code: Select all

Capacity Planning
Provides data extrapolation and capacity planning capability. Requires host authorization to view report.
2.2.0   11/30/2015   Nagios Enterprises, LLC
Is the same.

Code: Select all

Planificación de la capacidad 
Provides data extrapolation and capacity planning capability. Requires host authorization to view report.
 2.2.0    11/30/2015    Nagios Enterprises, LLC  
kyang

Re: Problems with the Memory Usage graphic

Post by kyang »

Can you download send us your system profile from Admin -> System Config -> System Profile -> Download Profile

You can PM it to me if you would like.

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.
Cristian Godoy
Posts: 17
Joined: Tue Sep 12, 2017 8:32 am

Re: Problems with the Memory Usage graphic

Post by Cristian Godoy »

kyang wrote:Can you download send us your system profile from Admin -> System Config -> System Profile -> Download Profile

You can PM it to me if you would like.

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.
Sent
Last edited by Anonymous on Fri Nov 10, 2017 10:25 am, edited 1 time in total.
Reason: Profile received! Put in teamshare
kyang

Re: Problems with the Memory Usage graphic

Post by kyang »

From looking at your profile. This is what I'm seeing.

Code: Select all

define service {
	host_name			CPC-DW-GWD-SAP-VT-01
	service_description		Memory Usage
	check_command			check_nrpe!CheckMEM!-a ShowAll MaxWarn=80% MaxCrit=95%!!!!!!
	max_check_attempts		5
	check_interval			5
	retry_interval			1
	check_period			xi_timeperiod_24x7
	notification_interval		1440
	notification_period		xi_timeperiod_24x7
	notifications_enabled		1
	register			1
	}

Code: Select all

define service {
	host_name			MED-QW-BOQ-SAP-VT-01
	service_description		Memory Usage
	use				xiwizard_windowsserver_nsclient_service
	check_command			check_nrpe!CheckMEM!-a ShowAll MaxWarn=80% MaxCrit=95%!!!!!!
	max_check_attempts		5
	check_interval			5
	retry_interval			1
	check_period			xi_timeperiod_24x7
	notification_interval		1440
	notification_period		xi_timeperiod_24x7
	notifications_enabled		1
	contacts			nagiosadmin
	_xiwizard			windowsserver
	register			1
	}
Do you have a template assigned to CPC-DW-GWD-SAP-VT-01?
Try adding that in and see what happens. I'm still digging through your profile.
Locked