Disk / Partition related CLI Monitors
Hi,
If we look at the HostResource.xml file, the disk / partition related monitors (used space, free space, partition details) are displaying the "virtual filesystem / disk" (eg: tempfs). Therefore, every time we add/modify the monitor (eg: partition details), we need to remove the those "virtual filesystem / disk"
In order to avoid this, i have added the "grep command" into the HostResource.xml file so that it will only display the actual devices only (start with /dev)
Hope OpManager can include this in the build itself.
- /bin/df -Pm | awk 'NR>1' | grep ^/ | awk '{print $6,$3/1024}'
--
Regards,
Anandharaj
System Engineer (Unix / Linux)
New to ADSelfService Plus?