Remote configuration via the rfmconf.exe utility
An alternative to remotely configuring the CO-Fmon.exe program using the BMC Defender web interface is to use the rfmconf.exe program, that is included in the system folder of the main BMC Defender Server.
This utility permits you to perform remote configuration at a command line, possibly within a batch file. The rfmconf.exe program accepts the following command line arguments:
rfmconf -download ipaddr filename | These command options download the remote configuration file from the specified IP address. The resulting configuration data is placed in the specified filename. |
rfmconf -upload ipaddr filename | These command options upload the remote configuration file to the specified IP address. The data residing in the specified filename is uploaded. |
rfmconf -generate ipaddr | These command options cause the system to immediately generate a new Image File, based upon the current configuration file. The program returns within one second with an OK indication or a Busy indication. If Busy, then the FMON agent is busy generating a new listing and the request is deferred. |
rfmconf -diff ipaddr | These command options cause the system to immediately generate a new Status Change file, based upon the current configuration file, including the sending of any syslog messages to the BMC Defender Server. The program returns within one second with an OK indication or a Busy indication. If Busy, then the FMON agent is busy generating a new listing and the request is deferred. |
rfmconf -getimg ipaddr | These command options cause the system to return with the image list, to standard output. This allows the remote user to inspect the contents of the FMON agent Image File. |
rfmconf -getdiff ipaddr | These command options cause the system to return with the change list, to standard output. This allows the remote user to inspect the results of the last comparison on the system, and determine which files have been added, removed, or changed. |
rfmconf -status ipaddr | These command options cause the system to return with the current status of the FMON agent, to standard output. These values are similar to the values depicted on the File Integrity Monitor screen, discussed previously. |
The rfmconf.exe program is especially useful in performing batch configure operations, where the command is repeated multiple times within a Windows .bat file, needed to effect reconfiguration on many different platforms.