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

S

sq

@sq
Unfollow Follow
About
Posts
3
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Notification Channel driver "Shell"
    S sq
    Support

    I'm now on

    NetXMS Server Version 3.9.334 Build 3.9-334-g799c5eb953 (UNICODE)
    NXCP: 5.53.1.31 (AES-256, Blowfish-256, 3DES, AES-128, Blowfish-128)
    Built with: g++ (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
    

    same behavior, but I've figured out the file /tmp/sss.txt  isn't "empty" a blank line is added for every test notification.


    nc_shell-2.png


  • Notification Channel driver "Shell"
    S sq
    Support
    NetXMS Server Version 3.9.298 Build 3.9-298-g2adbdd51e5 (UNICODE)
    NXCP: 5.53.1.31 (AES-256, Blowfish-256, 3DES, AES-128, Blowfish-128)
    Built with: g++ (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
    

    for test purposes I've copied your command, /tmp/sss.txt is created, but empty.


  • Notification Channel driver "Shell"
    S sq
    Support

    Hi, could you please provide some documentation for the "Shell" "Notification Channel" driver?

    I was looking for some documentation in the source code:

    Link Preview Image
    netxms/src/ncdrivers/shell/shell.cpp at 3f1e052583ade764a1512e30c16ca6809ec8e982 · netxms/netxms

    NetXMS - Open Source network and infrastructure monitoring and management - netxms/src/ncdrivers/shell/shell.cpp at 3f1e052583ade764a1512e30c16ca6809ec8e982 · netxms/netxms

    favicon

    GitHub (github.com)

    but for example

    Command=/usr/bin/test.py --message=${text}

    ${text} ends up empty.

    and I'm not sure how to enable a higher debug level (6) for this shell driver, the debug of the dummy driver worked pretty much as expected, for the shell driver I've tried to enable the debug output with the following command:

    nxadm -c "debug ncd.shell 6"
    
    
  • 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