If you use nagios in centos6.3, you will always use centos6.3 or earlier versions. When the new server arrives, a new centos6.3 is installed, as a result, when using Nagios monitoring, there was a small problem. During system memory monitoring, the previous monitoring script had never been faulty, but the new server had never been able to obtain normal monitoring data, the following error was reported when the Nagios client directly executed the relevant commands: /usr/local/nagios/libexec/check_mem-w 2-c 1/usr/local/nagios/libexec/check_mem: line 78:/usr/bin/dc: no file or directory, no dc command. What is the situation. I searched for the problem online and did not solve it. I finally found some clues in an article and completed the solution! The original dc command is a computing-related Command provided by the system, but Centos6.3 is not installed by default. How can we install it? If you use yum install dc, it is reported that the dc installation package is unavailable, you can only google it, the original bc and dc are two parallel commands, and the dc command is included in the bc installation package, decisive yum install bc, after the completion of the dc command has been found! Dc-Vdc (GNU bc 1.06.95) 1.3.95 Copyright 1994,199 7, 1998,200 0, 2001,200 4, 2005,200 6 Free Software Foundation, Inc. this is free software; see the source for copying conditions. there is NOwarranty; not even for MERCHANTABILITY or fitness for a particle PURPOSE, to the extent permitted by law. solve the problem!