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

U

[email protected]

@user68979
Unfollow Follow
About
Posts
3
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • NetXMS-WebUI configuration in UBUNTU Server
    U [email protected]
    Support

    Worked Alex, thanks millions.


  • NetXMS-WebUI configuration in UBUNTU Server
    U [email protected]
    Support

    Dears,

    Facing issues with WebUI configuration of NetXMS, on UBUNTU 24.02, with JETTY 12. and JRE 21.

    I've followed all below steps, without any issues

    1. sudo apt install default-jre
    2. sudo curl -O https://repo1.maven.org/maven2/org/eclipse/jetty/jetty-home/12.0.18/jetty-home-12.0.18.tar.gz
    3. sudo tar -xvf jetty-home-12.0.18.tar.gz -C /opt
    4. sudo ln -s /opt/jetty-home-12.0.18 /opt/jetty-home-12
    5. sudo mkdir -p /opt/netxms-webui/{etc,logs} && cd /opt/netxms-webui
    6. sudo java -jar /opt/jetty-home-12/start.jar --add-modules=ee8-deploy,gzip,http,http2,https,logging-logback,plus,server,ssl,work
    7. sudo curl -o webapps/ROOT.war https://netxms.com/releases/5.2/nxmc-5.2.0.war
    8. sudo keytool -genkeypair -alias jetty -keyalg RSA -keysize 2048 -keystore /opt/netxms-webui/etc/keystore.p12 -storetype PKCS12 -storepass Test@Fatmir123 -keypass Test@Fatmir123 -validity 3650 -dname "CN=netxms-webui, OU=Fatmir, O=Fatmir, L=Fatmir, ST=Fatmir, C=Fatmir"
    9. sudo sed 's,# jetty.sslContext.keyStorePassword=,jetty.sslContext.keyStorePassword=Test@Fatmir123,' -i'' start.d/ssl.ini

    After this I've edited conf service file, but because in my server didn't have jetty/jetty (user/group), I've added my current user. Now service is running, but page is unavailable (error 503)

    systemctl edit --force --full netxms-webui.service

    [Service]
    Type=simple
    WorkingDirectory=/opt/netxms-webui
    Environment=JETTY_HOME=/opt/jetty-home-12
    Environment=JETTY_BASE=/opt/netxms-webui
    User=fts-fatmir
    Group=fts-fatmir

    I'm missing something, at least how to tell WebUI to access server, perhaps with specific User/Password in some configuration, but I cannot figure it out where.
    If anyone has some ideas, in advance thank your very much

    Best, Fatmir


  • MQTT SubAgent subscribing to more than one MQTT Publisher
    U [email protected]
    Support

    Hi All,

    I have 2 PI devices where Mosquitto is running and I want to use one Windows machine with NetXMS agent, SubAgent MQTT to subscribe and collect the data.

    In both PI devices, i can see in Mosquitto logs that NetXMS agent is logging succesfully. The nxagentd.conf file is configured to connect to 2 MQTT brokers and collect few Metrix..

    The problem is that successful collection is happening only to one broker: if I put connection/Metrics of any of the brokers, everything goes fine. When I put connection/Metrics of both brokers, successful collection of DCI values is on the first one only, second shows errors.
    In documentation it shows that you can subscribe to more than one broker, on same agent. Any idea how to do this?

    MasterServers = <IP address of NetXMS server>
    ConfigIncludeDir = C:\NetXMS\etc\nxagentd.conf.d
    LogFile = {syslog}
    FileStore = C:\NetXMS\var
    SubAgent = mqtt

    [MQTT/Brokers/pi_cz_gen]
    Hostname = <here I'm putting IP address of MQTT broker>
    Port = 1883
    Login = admin
    Password = *******

    [MQTT/Brokers/pi_cz_gen/Metrics]
    CZ_GEN.Telemetry.Battery = "tele/cz-gen/Battery"
    CZ_GEN.Telemetry.Status = "tele/cz-gen/Status"

    [MQTT/Brokers/pi_cf_gen]
    Hostname = <here I'm putting IP address of MQTT broker>
    Port = 1883
    Login = admin
    Password = ******

    [MQTT/Brokers/pi_cf_gen/Metrics]
    CF_GEN_3.Telemetry.GEN_CF_3_Battery = "tele/cf-gen/GEN_CF_3_Battery"
    CF_GEN_3.Telemetry.GEN_CF_3_Frequency = "tele/cf-gen/GEN_CF_3_Frequency"
    CF_GEN_3.Telemetry.GEN_CF_3_TotalPower = "tele/baa352c08d7f501c/GEN_CF_3_TotalPower"

  • 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