Skip to content

Support

5.1k Topics 22.0k Posts

Questions about installing, configuring and using NetXMS.

  • executeAgentCommand fails successfully

    3
    0 Votes
    3 Posts
    13k Views
    N
    TLDR: Use $ErrorActionPreference = "Stop" so the agent knows one of the script's command failed. Found the root cause, but I forget to post it here. Despite several issues and discussions on winget-cli's github suggesting it can be run in system context it turns out that it is in fact impossible. So when i tried to execute it with the agent it returned instantly with a non zero exit code, but the ps script returned normally due to the lack of $ErrorActionPreference = "Stop" which would have caused the agent to recognise the script had failed. For now I'll use chocolatey with a custom caching proxy that rewrites packages - so even external resources can be cached locally by nginx - until MS figures out how to create a usable package manager. P.S. Thank you for the tip about auto termination, I'll keep that in mind. Also sorry for the late reply.
  • NetXMS mail alert

    3
    0 Votes
    3 Posts
    8k Views
    N
    Thank you!!
  • General alarm for cpu.,disk and ram

    3
    0 Votes
    3 Posts
    5k Views
    N
    Thank you so much!
  • DCI Treshold

    4
    0 Votes
    4 Posts
    9k Views
    F
    Historically SecondsToUptime() function was introduced before measurement units were added. So currently you can select  "Uptime" in measurement units and have it without transformation script. Threshold <= 600 should work. Also, you can try threshold with function "Diff with previous value", 1 sample, < 0.
  • SNMP with different community-strings for read and write

    2
    0 Votes
    2 Posts
    10k Views
    F
    Community string from node properties is used for read operations during polls and data collection. Write operations, as far as I know, could be performed from NXSL scripts only and in createSNMPTransport method (https://www.netxms.org/documentation/nxsl-latest/#_instance_methods_13) you can specify custom community string. You can store this community string in a node custom attribute.
  • BUG - Object Tools (Access Control)

    3
    0 Votes
    3 Posts
    11k Views
    L
    Hi, Everything is OK. Thanks!
  • BUG - Uptime unit in DCI

    3
    0 Votes
    3 Posts
    10k Views
    L
    Hi, Everything ok with the display. Thank you very much!
  • 0 Votes
    3 Posts
    7k Views
    N
    OK, thanks a lot. Fred
  • files (age, modification and creation) monitoring

    2
    0 Votes
    2 Posts
    5k Views
    F
    There are agent metrics for that, e.g. File.Time.Modify(/etc/passwd) https://www.netxms.org/documentation/adminguide/appendix.html#file-time-modify Metric would return unix time. First thing is to create Data Collection Item on a node with that metric. Then you can add threshold, if you need a notification when modification time changes, you can use function "Diff with previous value", operation "!= : not equal to". Then rule in event processing policy is needed, we can discuss this later on.
  • A little help with Maps

    2
    0 Votes
    2 Posts
    5k Views
    F
    Hi! In properties of map object on Map Appearance tab there's Drill-down object field where you can select the dashboard. This setting is saved in node's (or other object properties), so if node is placed to another map this setting there will be same.
  • Disable DCI in script?

    5
    0 Votes
    5 Posts
    9k Views
    S
    can you share this nxshell script? I could not find the method for disabling DCI
  • error on export db

    10
    0 Votes
    10 Posts
    10k Views
    L
    many thanks, but I found more row duplicate   ... then I adopted the query below... delete from config a using config b where a=b and a.ctid < b.ctid; it works well... also for all duplicate on db.  I resolved.
  • Persistent Storage

    5
    0 Votes
    5 Posts
    11k Views
    G
    I see..  Thanks for the info I will give the custom attributes a go as it does seem like a much cleaner solution appreciate it.
  • update netxms on fedora 38

    3
    0 Votes
    3 Posts
    6k Views
    L
    thanks so much.
  • JVM Monitoring

    11
    0 Votes
    11 Posts
    14k Views
    D
    It didn't make any difference. Same error.
  • New Client - Pinboard

    4
    0 Votes
    4 Posts
    12k Views
    F
    View state saving is planned for 5.0 which should be out in January. Rearranging items might require some work, so could be expected somewhere later.
  • emailing action variables

    5
    0 Votes
    5 Posts
    11k Views
    R
    Thanks Filipp, You are correct, I had missed the last line. This now gives me a path that I can experiment with. Thank you again, Phil.
  • 0 Votes
    3 Posts
    8k Views
    F
    The problem is that single quotes are get lost somewhere during all this process. You can specify using "" which will be escaped to " in the end, e.g.: ExternalMetric=RegQuery.EBTransfer720:""D:\Program Files\NetXMS\custom\CheckRegKey\CheckRegKey.exe"" "HKLM\SOFTWARE\WOW6432Node\Aucotec\Engineering Base\7.2.0\Server\Files" "ImageFilePath" But better way is to use new (and not yet documented) docker-style syntax: ExternalMetric=RegQuery.EBTransfer720:['D:\Program Files\NetXMS\custom\CheckRegKey\CheckRegKey.exe', 'HKLM\SOFTWARE\WOW6432Node\Aucotec\Engineering Base\7.2.0\Server\Files', 'ImageFilePath'] currently that works with single quotes (') only, but in next patch release double quotes (") will also be supported.
  • RPM build for Fedora 39?

    3
    0 Votes
    3 Posts
    6k Views
    N
    Appreciate it thanks Filipp.  Fedora IoT has been an interesting platform for some appliances we've been testing with netxms and some containerized apps.
  • Installation of NetXMS - Problems connection to MS SQL Server

    8
    5
    0 Votes
    8 Posts
    11k Views
    F
    Ah, right, # is treated as beginning of comment. You can specify password in double quotes (" "), then it can contain # character. I'm glad that it worked.