nagios.cmd

In the perl script, the Nagios command file MUST be written in the default directory and with the default name, e.g., for Nagios 4.0.1 (I installed Nagios under /sfw):
$NagiosCMD = “/sfw/nagios/var/rw/nagios.cmd”;

It works well. Thanks!