
88
Description: File System Monitoring function confirms a mount point every monitoring interval and, using the
statfs() function that is the function of OS, acquires file system information.
1) Confirm a mount point.
2) Acquire information using statfs() function for the cause at a mount point.
When a mount point was unmounted between things of 1) and 2) mentioned above, we confirmed that the file
system information of the mount point in the high rank was returned not error from statfs() function.
1) Confirm a mount point (/hoge).
-> /hoge is unmounted.
2) Acquire information using statfs() function for the cause at a mount point (/hoge).
-> As for the quantity of space capacity/whole aspect, information of higher / is repaid.
Solution: There are following two points.
When a file system monitoring function detected a new mount point, it prevents false detection by changing
default value not to monitoring file system. Change from Control Panel to setting to monitor.
<Setting Method>
1) Log in to the system as the root user.
2) Stop File System Monitoring service by the following commands temporarily.
# /etc/rc.d/init.d/ESMfilesys stop
3) Move to /opt/nec/esmpro_sa/data/ directory.
# cd /opt/nec/esmpro_sa/data/
4) Back up the configuration file of File System Monitoring just to make sure.
# cp esmfs.inf esmfs.org
5) Change the fourth line ThSwitchDef of esmfs.inf as follows.
[Before] ThSwitchDef=1
[After] ThSwitchDef=0
6) Start File System Monitoring service by the following commands.
# /etc/rc.d/init.d/ESMfilesys start
Stop File System Monitoring at the time of unmount temporarily.
<Setting Method>
1) Log in to the system as the root user.
2) Stop File System Monitoring service by the following commands temporarily.
# /etc/rc.d/init.d/ESMfilesys stop
3) Carry out unmount of the file system.
4) Start File System Monitoring service by the following commands.
# /etc/rc.d/init.d/ESMfilesys start
The threshold of File System Monitor becomes default value when it reboots system
or service.
Requirements: NEC ESMPRO Agent all versions.
Description: The mount point that is not mounted when file system monitoring service started deletes the
setting to be off a monitor object. It is mounted, and setting becomes default value afterwards to recognize it to
be a new mount point when file system monitor service detected it.
<Executed example after the system start >
(auto) mount [point A] (It use setting before the system start.)
Commenti su questo manuale