Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

Z

Tatjana Dubrovica

@zev
Global Moderator
Unfollow Follow
About
Posts
299
Topics
5
Shares
0
Groups
1
Followers
0
Following
0

Posts

Recent Best Controversial

  • Integration of Oxidized with NetXMS
    Z Tatjana Dubrovica
    Support

    Hi,

    That message is expected if the Oxidized module itself is not loaded — it's logged at startup once the server has scanned all loaded modules and found none providing a device backup interface.

    The thing to check: adding the OXIDIZED settings section to netxmsd.conf only provides configuration values — it does not load the module. You also need to add the module to the load list:

    Module = oxidized

    So a complete config looks like this:

    Module = oxidized

    *OXIDIZED
    BaseURL = https://oxidized.example.com
    Login = user
    Password = secret
    DefaultModel = ios

    Once the module is actually loaded, you should instead see:

    [backup] Network device backup interface is provided by module OXIDIZED

    If you've already got Module = oxidized in place and still see "not available", look at the lines just above it in the server log — the module reports the specific reason there, e.g.:

    • Oxidized integration module initialization failed (cannot parse module configuration)
    • Oxidized integration module initialization failed (invalid base URL) — the BaseURL must start with http:// or https://.

    Starting the server with -D5 and checking the backup/oxidized debug-tag output will show exactly where it stops. Note that the Oxidized server being temporarily unreachable does not cause this message — that only produces a warning ("Oxidized server is not reachable, will retry on demand"), and the interface still initializes.

    One more thing to confirm: the Oxidized integration was introduced in NetXMS 6.1.0, so make sure you're running 6.1.0 or later — on earlier versions the module doesn't exist.

    Best regards,
    Tatjana


  • Join the NetXMS Talks webinar TODAY, April 29, at 15:00 Riga time
    Z Tatjana Dubrovica
    Announcements

    Join the NetXMS Talks webinar TODAY, April 29, at 15:00 Riga time (EEST; UTC+03:00).

    We'll walk you through how to set up OTLP metric support and talk at length about the usability improvements. Things like moving columns in table and tree view; creating new event templates directly from event selector; search in SNMP MIB explorer; easy view rearrangement in pin areas — and much, much more. Simply join here: https://events.teams.microsoft.com/event/36b18d1a-bedc-41f2-a88b-9dd42a95bdfd@c9cf5896-fa72-44b6-8d57-8742ad2b4e6e


  • NetXMS REST-API
    Z Tatjana Dubrovica
    Support

    Hi,

    NetXMS actually has two web API options available:

    1. New Web API - Enabled by adding Module = webapi to your configuration. This is the modern API that we're actively developing and expanding. While it currently has limited functionality, it includes a dedicated Grafana endpoint that's specifically designed to work well with the Grafana Infinity plugin and requires less data parsing/modification on the Grafana side.
    2. Legacy Web API - The older netxms-websvc-VERSION.war service. This has more complete functionality currently but may require more data manipulation when using with Grafana plugins.

    Since you're using the Grafana Infinity plugin, which can work with any web API, you have flexibility here. You can use either the new API, the legacy API, or even both depending on which is easier for your specific use case.
    For new integrations, I'd recommend trying the new Web API's Grafana endpoint first as it will provide the smoothest experience with the Infinity plugin. However, if you need functionality that isn't yet available in the new API, the legacy service is still a viable option.

    Question 2 (inputFields Format):

    You're right that the documentation needs correction - I apologize for the confusion. The inputFields parameter should be formatted as a JSON object with key-value pairs, not as an array.
    Correct format:

    {
       "rootObjectId": 2,
       "queryId": 1,
       "inputFields": {
           "name": "value",
            "anotherField": "anotherValue"
        }
    }
    

    The code extracts these fields as a StringMap and supports multiple data types:

    Strings (used as-is)
    Integers (converted to string representation)
    Floating-point numbers (converted to string representation)
    Booleans (converted to "true"/"false" strings)

    I'll update the documentation to reflect the correct format. Thank you for catching this issue!


  • NetXMS Objects API request Regex not working
    Z Tatjana Dubrovica
    Support

    Try "regex" instead of "useRegex" like:
    {{host}}/objects?parent=4&class=interface&regex=true&name=%2F.%2AWI.%2A%2F


  • Using Web API to retrieve NetXMS Alarm data in Grafana
    Z Tatjana Dubrovica
    Support

    There is new blog post about Grafana/NetXMS integration. Maybe object queries might help you with interface display options.
    Post:
    https://netxms.com/blog/grafana-configuraiton-in-netxms


  • Using Web API to retrieve NetXMS Alarm data in Grafana
    Z Tatjana Dubrovica
    Support

    Hi. Happy that I helped you.

    For DCI data please check this request:
    https://netxms.org/documentation/adminguide/rest-api.html#dci-values

    This is my example of configuration:
    URL: http://10.5.5.111:8000/v1/objects/108/data-collection/183/history
    UTL query params:
       timeFrom $__from/1000
       timeTo $__to/1000
    Root: values

    For status map I'm not sure how it can be created with help Ifinity plugin but check API that returns array with objects: https://netxms.org/documentation/adminguide/rest-api.html#get-multiple-objects-with-filters

    The only option for maps as for now is to create link in NetXMS that afterwards will be used in IFrame plugin to insert it to the dashboard.


  • NetXMS 5.2 patch release 2
    Z Tatjana Dubrovica
    Announcements

    We just published second patch release for version 5.2. It addresses few important issues found in 5.2.1. Full change log is following:

    -  Fixed insert into table "notification_log" for TimescaleDB
    -  Improved client performance, by disabling alarm refresh if tab is not active
    -  Fixed missing DCI on network map links when new DCI's are added on alreay opened map
    -  Added job progress indication within views
    -  Fixed NXSL get web service document functions
    -  Added Grafana Infinity plugin web API endpoints

    • Fixed issues:
        -  NX-2733 (Do not show zone column in discovery targets if zoning is off)
        -  NX-2742 (Add NXSL node object method for enabling/disabling SM-CLP polling)
        -  NX-2751 (Delete scheduled tasks on node deletion)
        -  NX-2752 (Add ICMP response time jitter internal DCI for ICMP response statistic collection)
        -  NX-2754 (Separate error code for situation when TCP proxy is not enabled in agent config)
        -  NX-2755 (NXSL Interface utilization values returned as int, without decimal point)
        -  NX-2764 (Add PostgreSQL 17 support in monitoring subagent (pgi_stat_checkpointer))
        -  NX-2765 (Increase command length in package manager)

  • Using Web API to retrieve NetXMS Alarm data in Grafana
    Z Tatjana Dubrovica
    Support

    First endpoint also just works without Grafana plugin (it just provides data in human readable way).


  • Using Web API to retrieve NetXMS Alarm data in Grafana
    Z Tatjana Dubrovica
    Support

    Hi,
    There are two options.

    Our old Grafara plugin had it's own data point (that is still present and works): 
    /grafana/alarms
    Call examples:
    /grafana/alarms - gives object id to object name 
    /grafana/alarms?targets=[{}] - will return all alarms
    grafana/alarms?targets=[{"alarmSource":{"id":108}}] - to get alarms for object with id 108
    You can add as many elements with required object ids in array needed: [{"alarmSource":{"id":108}}, {"alarmSource":{"id":512}}, ...]
     
    Another option is to add parameter resolveReferences=true to webapi/alarms request like: http://x.x.x.x:8080/webapi/alarms?resolveReferences=true 
    This parameter adds full information about alarm source node, source event name and names of users if possible to resolve.


  • Link Style Script
    Z Tatjana Dubrovica
    Support

    Hi,
    Yes you can use link styling script. 
    Here you can see example that I use for automatic integration tests: https://github.com/netxms/netxms/blob/master/tests/integration/src/test/resources/networkMapStylingScript.nxsl
    Basically you should get STP status form $link.object1 nad $link.object2 (It will be NetObjects or Nodes connected by the link https://netxms.org/documentation/nxsl-latest/#class-node )
    and set color with help of:
    $link.setColorConfig(MapLinkColorSource::CustomColor, "#FF00FF");


  • NetXMS Talks webinar 18 december
    Z Tatjana Dubrovica
    Announcements

    Hi folks! Today we're having the last NetXMS Talks webinar of the year (15:00 Riga time). This time we'll cover:

    • New automatic map type, or so-called "hybrid topology"
    • New object class — "Circuit"
    • Peer information on interfaces that now can be set and cleared manually
    • Writing your comments using Markdown for more readability
      .. and, as usual, we'll be happy to take your questions! Yes, there will be a recording afterwards. To join just follow link: Event connection link

  • Meet us this week at Ubuntu Summit 2024 in the Hague
    Z Tatjana Dubrovica
    Announcements

    Hello Everyone! This week, from Friday to Sunday, there will be an opportunity to meet us at the NetXMS exhibition booth on Ubuntu Summit 2024 in the Hague. Welcome everyone who happens to be there for a chat about monitoring (and a taste of local chocolates).


  • Option to use properties file for NXShell
    Z Tatjana Dubrovica
    Feature Requests

    Hi.
    I created and issue you can track: https://track.radensolutions.com/issue/NX-2593


  • Save window size and state
    Z Tatjana Dubrovica
    Feature Requests

    Will be included in next relese 5.1


  • Dark mode not working
    Z Tatjana Dubrovica
    Support

    Hi,

    Confirmed as a bug for web: https://track.radensolutions.com/issue/NX-2569

    Tatjana


  • Help : Unable to get SMTP service to work
    Z Tatjana Dubrovica
    Support

    Sorry it's my bad. I read SNMP instear of SMTP. SMTP is supported and should work.
    DCI configuration should look like: NetworkService.Status(smtps://domain.org, [email protected], [email protected])

    From is optional named parameter, default value is taken from subagent configuration and with no changes will be "[email protected]".
    In order to debug problem you should increase debug level to 6 on agent that collects this value. You can increase debug only for "netsvc" debug tag. In my case I had error like this, having 5 as a result of DCI:
    2024.08.26 17:39:01.212 *D* [netsvc            ] NetworkServiceStatus_SMTP(smtps://domain.org): call to curl_easy_perform failed (55: RCPT failed: 554)

    In Service configuration as an object you should set destination e-mail as Request data. And you can debug errors in the same way as with previous one by increasing debug level on the agent. You will get errors like: 
    2024.08.26 18:06:52.008 *D* [netsvc            ] CheckSMTP(smtp//127.0.0.1:465): call to curl_easy_perform failed (7: Failed to connect to 127.0.0.1 port 465 after 0 ms: Couldn't connect to server)


  • Do not report an event by email unless it is "No toner"
    Z Tatjana Dubrovica
    Support

    Alarm key can be the same as most probably you have either toner or others and it is not required to make distinction here as they can't coexist
    simultaneously for the same device.


  • сообщение о неправильной маске подсети
    Z Tatjana Dubrovica
    Support (Russian)

    Скорее всего, существует маршрутизатор/хост, который был обнаружен первым NetXMS и сообщил маску сети 255.255.255.0. Поскольку сервер NetXMS не может точно знать, у кого правильная сетевая маска, а у кого нет, он предполагает, что первый обнаруженный узел, подключенный к некоторой подсети, имеет правильную сетевую маску для этой подсети.


  • Help : Unable to get SMTP service to work
    Z Tatjana Dubrovica
    Support

    We do not have SMTP service monitoring. Usually Node with SNMP is just created and credentials are correctly configured and then NetXMS is automatically detects if SNMP is no more responsing.
    If we are talking about service - we do not have special service for SMTP. But you can use telnet. I tested this approach by creating next DCI on my management node with IP of SNMP device:
    NetworkService.Status(telnet://10.5.5.11:22)

    As for the service I've just created service object under the node with SNMP with telnet + 22 port options and it is working.


  • Do not report an event by email unless it is "No toner"
    Z Tatjana Dubrovica
    Support

    One option is to generate separate event for low tonner and separate event for all other errors - in this case you will just create multiple rules: one for toner (send e-mail) and something else for others (for example to create alarm).

    Filtering in in EPP is harder option and for it you should use left side of EPP - filtering side. I would suggest to write filtering script, that will check current DCI value that is available in $event script parameter.

  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups