News:

We really need your input in this questionnaire

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - mrballan

#1
General Support / Network Dependencies
May 02, 2008, 04:18:30 AM
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.
#2
General Support / Re: Execute Action
May 02, 2008, 02:50:38 AM
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
#3
General Support / Execute Action
May 01, 2008, 10:19:34 AM
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.