Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - SpotTheCat

#1
Hi,

We have a lot of Windows nodes that we manage. We have a custom DCI that shows when the servers a waiting for a reboot. Ideally we'd like to be able to right click on the server and add a scheduled task to reboot the servers. However I can't find any functions in nxsl and I don't think it's possible to write a script for nxshell to run the at command. So I'm wondering if I've missed something in the documentation that would allow us to do this?

We have a library script that reboots a node and we can call this from the scheduled tasks. This works fine but adding a lot of nodes manually takes a lot of time and inevitably ends up with the odd typo.

Kind regards

Spot
#2
General Support / Querying DCI Table history
October 01, 2020, 08:06:07 PM
Hello Forum,

I know that a number of people have raised this but I can't find any answers on the forum.

I've seen this solution for getting the current values of a DCI table.

https://www.netxms.org/forum/general-support/get-values-from-a-dci-table-with-a-tranform-script/msg17281/#msg17281

That's great - but is there a similar way to enumerate and display the complete history for a DCI table? We have some monitors which get results of logins every few minutes. If there is a suspicious login it raises an alert. After 10 minutes the DCI table will no longer display the row but the alert will remain. As the identity column is just a session number that doesn't give us enough information to see who logged in and where from. So we need to be able to see the history. Also if we need to use this information for evidence then we'll need to get back to it to.

Perhaps a DCI table isn't the best way to do this but I can't see a better way to handle it at the moment. The main issue is that we're monitoring a cloud solution and the only way to pickup the logins is via their API for a period of time.

Best regards

Spot