check_snmp_mem not an available "check command"

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
boeingcccs2
Posts: 7
Joined: Mon Dec 11, 2017 2:25 pm

check_snmp_mem not an available "check command"

Post by boeingcccs2 »

In version 5.4.10 I created a service check using the check command check_snmp_mem. In 5.6.10 I am unable to import this service configuration due to error "Service check command 'check_snmp_mem .... not found anywhere". In the core config management service management GUI this check is no longer available in the "check command" drop down. It does exist under /usr/local/nagios/libexec and I can execute it from the command line. How can I use this check command?
Thanks!
Scott
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: check_snmp_mem not an available "check command"

Post by scottwilkerson »

boeingcccs2 wrote:In version 5.4.10 I created a service check using the check command check_snmp_mem.
You should import the commands.cfg form the old system first
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
boeingcccs2
Posts: 7
Joined: Mon Dec 11, 2017 2:25 pm

Re: check_snmp_mem not an available "check command"

Post by boeingcccs2 »

Thanks! Importing the command definition for check_snmp_mem worked. Not sure why that got removed from the default commands.cfg.

Scott
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: check_snmp_mem not an available "check command"

Post by scottwilkerson »

boeingcccs2 wrote:Thanks! Importing the command definition for check_snmp_mem worked. Not sure why that got removed from the default commands.cfg.

Scott
Great!

Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked