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 - szabolcs

#1
General Support / Re: Sending Alarms via webhook
November 09, 2023, 05:10:52 PM
Great, thank you, got it to work.
Really appreciate your helpful response.
#2
General Support / Sending Alarms via webhook
November 08, 2023, 05:06:55 PM
Hello,

wondering what are the options to send alarms via webhook ?
Should I just call curl as a command on the management server?
Feel like doing it via scripts could provide more flexibility?
I have checked  https://www.netxms.org/documentation/nxsl-latest/#class-webservice but I do not understand how that's supposed to work.

Grateful for nudging me in the right direction.
thank you
#3
General Support / Re: Script timeout after upgrade to 4.2
November 01, 2022, 04:02:59 PM
This did the trick, thank you! Great support as always. Will also look into this background mode as well.
#4
General Support / Script timeout after upgrade to 4.2
November 01, 2022, 12:54:57 PM
Hey,

I've just upgraded from 4.1 to 4.2 and noticed most of my scripts on agents are timing out after 5 seconds

2022.11.01 11:36:17.798 *D* [comm.cs.1          ] H_ExternalTable called for "BackupList2" (separator=0x007C mode=S cmd="powershell -NoProfile C:\veeamscripts\Get-VeeamJobs-ExternalTable.ps1"
2022.11.01 11:36:17.798 *D* [exec               ] RunExternal called for "BackupList2" "Spowershell -NoProfile C:\veeamscripts\Get-VeeamJobs-ExternalTable.ps1"
2022.11.01 11:36:17.798 *D* [exec               ] RunExternal: command line is "powershell -NoProfile C:\veeamscripts\Get-VeeamJobs-ExternalTable.ps1"
2022.11.01 11:36:17.816 *D* [procexec           ] ProcessExecutor::execute(): process "CMD.EXE /C powershell -NoProfile C:\veeamscripts\Get-VeeamJobs-ExternalTable.ps1" started
2022.11.01 11:36:22.816 *D* [exec               ] RunExternal: external process execution timeout (command line "powershell -NoProfile C:\veeamscripts\Get-VeeamJobs-ExternalTable.ps1")
2022.11.01 11:36:22.823 *D* [procexec           ] ProcessExecutor::readOutput(): process termination detected

Tried adding DefaultExecutionTimeout=30000 to the agent config, but seems to have no effect whatsoever. Have no other timeout values defined in the config. Cannot figure out what agent setting should I mess with.

Thank you!
#5
Hello,

whenever i try to associate a table DCI with a cluster resource the settings is not retained, i set the resource, apply-close the window, but when i check the setting the cluster resource is not associated, works OK with a simple DCI, but not table.
Are tables not supported?
#6
General Support / Re: Joining SNMP tables?
September 17, 2021, 10:49:55 AM
OK, what i did in the end:
I grabbed my Clients table and added a column for APName. If i added without OID it broke the table, returned no rows. So I had to include a valid OID as dummy.
In the transformation script i looked up my AP table for the names and replaced the values in this newly created column.

Works ok, though have the feeling there is a better way. :D
#7
General Support / Joining SNMP tables?
September 17, 2021, 08:41:15 AM
Hello,

I've two SNMP tables one has info from Access points (AP MAC, AP Name), the other has info all the clients connected to the wireless. The latter only has the AP MAC not the name, would like to create a view/table where I can see the name of the AP the clients are connected to .
Can you recommend a good solution ?

thank you
#8
One more thing :)
Is it possible to somehow display the date/time on dashboard when stored as uint? Tried to play around with formatting string %tY for example, but all i get is invalid format.
#9
Dear Filipp, thank you very much, think I can get this work now with, had a lack of understanding of the time functions but think I got it now. :)
#10
Hello,

I'm monitoring backups with a Push DCI through snmp traps. So the snmp trap fires an action script runs that pushes the result to the DCI.
Now I would like to visualize this by displaying the timestamp of the dci + result, but don't really know where should I start with this.
Currently I have a DCI that has the name of the backup job and stores the result.

What I would like to achieve is something like this:


BackupJobName |Last Backup Result datetime |Last Backup Result

Any guidance where and how to start is much appreciated.