Hi,
We have recurring tasks (monthly and quarterly) like patch update or run
scan vulnerability that I would like to set to create ticket on a certain
time.
Here’s I would like to do:
I create a new ticket “run scan vulnerability on server X”.
After running, I will close this
ticket. On next month, this ticket automatically will be re-opend (or a new
one generated).
I’m thinking of using RT Reminders. I’ve checked it but the scrips that I
saw, use reminders to send open tickets that are due over a period of time.
Does anyone was able to do this and any scrips that I can check?
Thanks!
Roehl
rmp dmd wrote:
I create a new ticket “run scan vulnerability on server X”.
After running, I will close this
ticket. On next month, this ticket automatically will be re-opend (or a
new one generated).
I’m thinking of using RT Reminders. I’ve checked it but the scrips that
I saw, use reminders to send open tickets that are due over a period of
time.
Does anyone was able to do this and any scrips that I can check?
I can advise following solution:
- Create Condition which will check current date and will return 1 in case
today is day of scanning.
- Add rt-crontool call with the Condition and appropriate Action to crontab to
be run daily.
Agnislav Onufrijchuk
PortaOne, Inc., RT Developer
Tel: +1-866-SIP VOIP (+1 866 747 8647) ext. 7670
Meet us at ITEXPO West 2009
September 2-3, Booth 427
Los Angeles Convention Center
Why so complicated?
If you like to use a new ticket every time, why not create directly from
cron? mail to the queue with the content and done. If you like to recycle
your ticket, just create a ticket, close when done and then use rt-crontool
as example to reopen it.
Hoep this helps2009/7/13 rmp dmd rmp.dmd1229@gmail.com
Hi,
We have recurring tasks (monthly and quarterly) like patch update or run
scan vulnerability that I would like to set to create ticket on a certain
time.
Here’s I would like to do:
I create a new ticket “run scan vulnerability on server X”.
After running, I will close this
ticket. On next month, this ticket automatically will be re-opend (or a new
one generated).
I’m thinking of using RT Reminders. I’ve checked it but the scrips that I
saw, use reminders to send open tickets that are due over a period of time.
Does anyone was able to do this and any scrips that I can check?
Thanks!
Roehl
The rt-users Archives
Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com
Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com
MFG
Torsten Brumm
http://www.torsten-brumm.de