Forums  Register  Login  My Profile  Inbox  Address Book  My Subscription  My Forums 

Member List  Search  FAQ  Ticket List  Log Out

 

Batch file execution problem in GFI EventManager 8.0

 
Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [Networking & Security] >> GFI EventsManager >> Batch file execution problem in GFI EventManager 8.0 Page: [1]
Login
Message << Older Topic   Newer Topic >>
Batch file execution problem in GFI EventManager 8.0 - 16.Aug.2009 2:51:15 AM   
yfaruqe

 

Posts: 2
Score: 0
Joined: 16.Aug.2009
Status: offline
Dear All:

I am getting problem to trigger a batch file to send sms to the specific user whenever any events has occur. Bellow I have given the sample batch file code which I have run in the GFI EventManager 8.0 to generate a message to the text file(log.tx) but its was unable to trigger this message to the text file.

Code:

@echo off
Set message=null
Echo "Message to write" %message% >> c:\log.txt

Can anyone please help me to run batch file or script file in GFI EventManager 8.0 which will send an sms to any specific users.

It would be really great for me to work with this events. Hope to get your's earliest response.



Thanks


Faruqe
System Admin
Banglalink
Post #: 1
RE: Batch file execution problem in GFI EventManager 8.0 - 17.Aug.2009 9:54:44 AM   
DrewE

 

Posts: 1058
Score: 0
Joined: 28.Apr.2008
From: Cary, NC
Status: offline
Try creating a folder such as C:\GFIMessages and giving SYSTEM, and Domain Users "full control" of this folder from the NTFS permissions and try again.

_____________________________

Drew Easley - Technical Support Representative
GFI Software - www.gfi.com

(in reply to yfaruqe)
Post #: 2
RE: Batch file execution problem in GFI EventManager 8.0 - 19.Aug.2009 11:39:52 PM   
yfaruqe

 

Posts: 2
Score: 0
Joined: 16.Aug.2009
Status: offline
Thnks....

I have assigned the permission to both the group but still its not working......

Faruqe

(in reply to DrewE)
Post #: 3
RE: Batch file execution problem in GFI EventManager 8.0 - 20.Aug.2009 8:44:33 AM   
DrewE

 

Posts: 1058
Score: 0
Joined: 28.Apr.2008
From: Cary, NC
Status: offline
One of two things could be happening:
1) GFI EventsManager is not running the .BAT file at all
2) GFI EventsManager is running the .BAT file, but it is failing.

To determine this we can have winsdows audit the .bat file and write an event each time it is run. These steps will help: http://kbase.gfi.com/showarticle.asp?id=KBID002902

Once completed, test this by running the .BAT file manually. The event should show up in the windows event log (and subsequently be collected by GFI EventsManager)

Next, allow GFI EventsManager to process as usual, waiting for when the .BAT file would normally run - Once the file should have been run, check the windows event logs to see if the audit event is created.

_____________________________

Drew Easley - Technical Support Representative
GFI Software - www.gfi.com

(in reply to yfaruqe)
Post #: 4
Page:   [1]
All Forums >> [Networking & Security] >> GFI EventsManager >> Batch file execution problem in GFI EventManager 8.0 Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts