info about FileSystem.UsedPerc dci from netxms agent
-
Hi guys!
I have a centos server with agent installed (1.2.13) and I use the agent to get the percentage of used space on a specific file system (using parameter FileSystem.UsedPerc()).
If I check the filesystem used space using the command "df" i got a value, while FileSystem.UsedPerc return a different value.
I know that sometimes the output of df is not up to date, but i'd like to know how the agent get the FileSystem.UsedPerc...This filesystem have a huge number of file, so i can't use the command du because it takes about an hour
Is the value returned from netxms agent more updated of the value obtained through "df"?
Thank you for the help!
-
Hi,
how big is the difference? Also, in version 1.2.14 there was a fix in Linux agent in file system percentage calculation (before that fix percentage was always rounded down, so 3.99 would become 3.00 for example).
Best regards,
Victor -
-
I suppose that df may report percentage of total space - reserved space used (so you actually can see 101% use in df for example). NetXMS agent returns percentage of used total space. You can see the difference by comparing FileSystem.Free/FileSystem.FreePerc with FileSystem.Avail/FileSystem.AvailPerc.
Best regards,
Victor
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login