Page 2 of 2

Re: Problems with the Memory Usage graphic

Posted: Thu Nov 30, 2017 8:51 am
by Cristian Godoy
kyang wrote: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.
Dear Kyang,

I already tried all the options of creating the Memory Usage service again and it always shows the graphic with a variable, I corrected what you mentioned and it was not solved, I think the problem is the database assigned to Memory Usage since the new Host that I add Nagios and they graph the variables very well and that they have the same configuration as those that present problems, is there an efficient way to erase the Memory Usage service and its complete database?

Re: Problems with the Memory Usage graphic

Posted: Thu Nov 30, 2017 3:46 pm
by kyang
Is it creating perfdata for that check? Could you run this command and show us the output.

Code: Select all

ls -la /usr/local/nagios/share/perfdata/CPC-DW-GWD-SAP-VT-01
You could assign it a test name to see if it will show up. Otherwise deleting the service through the CCM and its rrd files.