Unable to visualize DCIs
-
Hi,
since installing NetXMS about half a year ago I struggle to get visualizations e.g. in Dashboards working.
I've set up a DCI, let's say for System.Memory.Physical.UsedPerc for a HyperV-Server not changing any of the presettings and I see the correct Value for the DCI in the "last values"-Tab of the Details of that Server.
What I don't see is any Chart when right-clicking that last value (Chart is shown, but no values); also I can't see any values in Charts in Dashboards.Problem Shows in web Client as well as in Windows client.
Anybody got an idea about this?
Lots of Thanks in advance,
Frank
-
-
Try to change chart interval to something larger, like 1 week - will you see something? Check that you have correct time zone settings on server and workstation.
Best regards,
Victor -
First of all thanks for your ideas.
The Problem Shows up on all DCIs. "Do not save collected data to database" ist set to off, in spite of that I can't see any values in the History of the value. Therefore I don't think it is a time Zone Problem; Server and Client are the same and larger timescale also results in an empty graph.
Is there any other condition that might result in that behaviour?
thanks in advance and best regards,
Frank
-
Hi,
please check if there are actual data in idata_xxx tables. If they are empty, check server log file for SQL errors. Also, try to stop server and run database check.
Best regards,
Victor -
-
At least I thought so...
all DCIs work for a few minutes after restart of netxms server, after that - no new values in history (that is so for all DCIs I've tried). The graphs work correct if there is data.
Strange thing is, the "last values" show up correct and also they update correctly, the history doesn't. And since the graphs get their data from the history tables, they can't show anything correct.idata_xxx-tables exist only for some DCIs and are filled (timestamp seems ok to me, idata_value=0 in all rows).
Any idea, hopefully?
thanks,
Frank
-
Hi,
updated to M2 today...now i see the DCIs in history and Graphs "hanging" about half an hour behind real time.
From other threads i got the console command "Show Queues" and sawDatabase writer (IData) 50124 constantly around that value
Database writer (raw DCI values) 1357 decreasing to 0 every few seconds
Status Poller 1245 constantly around that valueCound that have anything to do with my Problem? Are there any Switches i can set to get around this?
Or could this be database related (mysql)?thanks in advance,
Frank
-
-
Hello.
Sorry for late reply.
It's definitely an issue with database performance, queue size is way to high.
- Check "EnableMultipleDBConnections" parameter (either in server settings or using "nxdbmgr get EnableMultipleDBConnections"), it should be set to "1"
- Check "ConnectionPoolBaseSize" and "ConnectionPoolMaxSize". Server can be very slow if poll size is limited to 1.
- Increase number of DB writers to at least 4 ("nxdbmgr set NumberOfDatabaseWriters 4")
- Check I/O, enable slow query logging
Please note "nxdbmrg set" should be used only when server is stopped.
-
Hi,
thanks anyway.
I found out that the main Problem lies with the mysql-configuration, which was mainly out-of-the-box.
I just changed two Parametersinnodb_flush_log_at_trx_commit=0
innodb_buffer_pool_size=4Gin my.ini and everything runs as hell.
Thanks for your help and greetings from Germany,
Frank
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