DCI value format string
-
-
Hi!
You have to define it like "Out: %s Kbps". %s will be replaced by DCI value. You can use any format specifiers allowed for Java's String.format (http://docs.oracle.com/javase/7/docs/api/java/util/Formatter.html#syntax).
Best regards,
Victor -
-
No, you should use transformation script to convert bits into Kbits.
Best regards,
Victor -
-
This thread is first hit on google for "netxms format string" and I was interested in this also. Further digging reveals this:
https://track.radensolutions.com/issue/NX-501
where Victor K advises to use format string %*d and it works as expected - values collected as "... traffic (bits) Delta value" are displayed as k/m/g as appropriate
-
Yes, %* formatter was added much layter then original topic was discussed. Now it is better to collect value as is and use formatters to display in K/M/G.
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