Page 1 of 2

Problems with the Memory Usage graphic

Posted: Tue Nov 07, 2017 3:39 pm
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

Re: Problems with the Memory Usage graphic

Posted: Tue Nov 07, 2017 5:44 pm
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?

Re: Problems with the Memory Usage graphic

Posted: Wed Nov 08, 2017 8:18 am
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

Re: Problems with the Memory Usage graphic

Posted: Wed Nov 08, 2017 2:17 pm
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?

Re: Problems with the Memory Usage graphic

Posted: Wed Nov 08, 2017 3:27 pm
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

Re: Problems with the Memory Usage graphic

Posted: Wed Nov 08, 2017 3:42 pm
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

Re: Problems with the Memory Usage graphic

Posted: Wed Nov 08, 2017 4:01 pm
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  

Re: Problems with the Memory Usage graphic

Posted: Thu Nov 09, 2017 10:52 am
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.

Re: Problems with the Memory Usage graphic

Posted: Fri Nov 10, 2017 8:23 am
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

Re: Problems with the Memory Usage graphic

Posted: Fri Nov 10, 2017 1:57 pm
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.