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

M

mrballan

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

Posts

Recent Best Controversial

  • Network Dependencies
    M mrballan
    Support

    Hello all.

    I have started looking at configuring rules in the event policy to minimise the number of emails that are generated when a remote site goes down.
    I have used the situation feature to accomplish this and it appears to work well.  See image for an example.

    Rule1 is the site router.
    Rule 2 is the site switch
    Rule 3 are access points connected to the switch.

    I am just wondering if this is the best way to overcome this problem or is there another way?

    Thanks in advance for any reply posts.


  • Execute Action
    M mrballan
    Support

    Thanks for the reply Victor,

    I was able to run the code you provided if I used just test.txt instead of c:\test.txt.
    The file then appeared in the C:\netxms\var directory.

    I then copied my batch file to this directory and it was able to be run using the following command - file.cmd "%m"

    I am running the netxms service as the local admin so I am not sure if it was a permission error?

    Thanks


  • Execute Action
    M mrballan
    Support

    Hello all,

    I am having trouble executing a batch file when using the 'Execute command on management server' action.

    Is it possible to execute a batch file?
    I would also like to pass the message, node and status variables through to the batch file.

    My email alerts work when they are assigned to the event policies.

    A test command I have tried running is - "echo test >> c:\test.txt"

    Please let me know what I am doing wrong.

    Thanks in advance.

  • 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