Hi,
I added some file system DCI using instance discovery.
When I use Agent List -> FileSystem.MountPoints it also discovers CD-ROM drives which results in an error value.
At least when I use the drive letters as the volume name is kind of unreadable.
So I tried using Agent Table -> FileSystem.Volumes but I couldn't figure out how to access this table in the filter script.
I also found a forum entry that said Agent Table wouldn't work.
Is this still true?
If not could someone please give me a hint on how to access the columns of this table?
Thanks, VMGuy
After some more investigation I found this post:
https://www.netxms.org/forum/configuration/dci-filter-script-how-to-ignore-some-filesytems/ (https://www.netxms.org/forum/configuration/dci-filter-script-how-to-ignore-some-filesytems/)
It solves the problem with empty values.
But it still displays CD-ROM drives have a disc inserted.
And it triggers an alarm in that case as CD-ROM's always have 0 free space.
You can also add check to the filter to ignore file systems with total space less then 800MB and free space 0 - it will work fine unless you really have very small file systems on your servers.
Best regards,
Victor