Why oh why do we use this system? Let's just go to periods of awkward periods of light and dark. I mean it make sense to me to just go with the flow of the natural way of things. Why mess up what happens with a system no one wants that has only been used for 100 or so years?
Cheap Talk, throw your two cents in. Listen to what I have to say and you may actually enjoy yourself.
Sunday, March 13, 2011
Wednesday, March 02, 2011
Sunday, February 20, 2011
Monday, January 31, 2011
RT Change Queue when Ticket Reaches Final Priority
Where I work, we use RT for our ticketing system. Previously we had only about 12 or so queues that ran a priority from 1 to 100. More recently we changed to a tiered or leveled approach. That is each queue, now has three tiers such as Antivirus L1, L2, L3 or Networking L1, L2, L3. However, I needed each ticket in a given queue to automatically move from L1 to L2 or L2 to L3 when the final priority for that level was reached. I should not I am using rt-crontool to adjust the tickets priority, such as the following example illustrates:
/usr/local/bin/rt-crontool --verbose --search RT::Search::FromSQL --search-arg "Queue = 'Antivirus L1' AND (Status = 'new')" --action RT::Action::EscalatePriority --transaction lastSo for each L1 and L2 Queue I have I made a scrip with the following conditions:
| Description: | |
| Condition: | |
| Action: | |
| Template: | |
| Stage: |
You will want to change the name-of-queue to whatever your queue is called.
Custom Action Preparation Code:
Custom Action Cleanup code:
You will of course want to replace the Queue # and Priority # with the actual number of the new queue and new base and final priority settings.
This can be very tedious to setup for each and every queue, but it seems to work for me and I am sure it can work for you too!
Custom Action Preparation Code:
my $status = $self->;TicketObj->;Status;
my $final = $self->;TicketObj->;FinalPriority;
my $priority = $self->;TicketObj->;Priority;
return 0 unless $self->;TransactionObj->;Field eq 'Priority';
return 0 unless $status eq 'open' || $status eq 'new' || $status eq 'stalled';
return 0 unless $final >; 0;
return 0 unless $final == $priority;
return 1;
Custom Action Cleanup code:
my $newqueue = "#";
my $final = $self->;TicketObj->;FinalPriority;
my $priority = $self->;TicketObj->;Priority;
my $T_Obj = $self->;TicketObj;
$RT::Logger->;info("Auto assign ticket #". $T_Obj->;id ." to queue #". $newqueue );
my ($status, $msg) = $T_Obj->;SetQueue($newqueue);
unless ($status) {
$RT::Logger->;warning("unable to set new queue: $msg");
return undef;
}
$RT::Logger->;info("Change Ticket Priority ". $T_Obj->;id ." to ". "#" );
my ($status, $msg) = $T_Obj->;SetPriority("#");
unless ($status) {
$RT::Logger->;warning("unable to set new priority: $msg");
return undef;
}
$RT::Logger->;info("Change Final Priority ". $T_Obj->;id ." to ". "#" );
my ($status, $msg) = $T_Obj->;SetFinalPriority("#");
unless ($status) {
$RT::Logger->;warning("unable to set new final priority: $msg");
return undef;
}
return 1;
You will of course want to replace the Queue # and Priority # with the actual number of the new queue and new base and final priority settings.
This can be very tedious to setup for each and every queue, but it seems to work for me and I am sure it can work for you too!
Tuesday, January 18, 2011
It's a girl!
Great News. We found out today, its a girl! I couldn't be more happy or excited. I am looking forward to it. I think we've more or less decided on a name, however anything could happen, so we'll see. It is going to be another few months before the baby gets here, so now comes the fun stuff. We're going to start working on our registry and getting the room ready, eventually. The room we were going to make the baby's is currently blue, but I don't know if we'll want to paint it. I am not sure what all we need on our registry, but my wife seems to be making good time and has some stuff filled in already.
331 pounds
So, the scale and I are at war. It says I weigh 331 pounds, I say its a stupid piece of crap. Unfortunately, no matter how much I threaten to remove the nine volt battery it refuses to behave. Maybe I have to come to the realization that the scale is right and I just need to lose it. Weight, that is. For some reason I find that even though I know I am fat, or according to the CDC body mass index morbidly obese, I feel that I don't seem to care. I am apathetic to my cause, even though I know it is dire. I need to, in my opinion, drop down, first to 300, then 275, 250 and so on. I just don't know where or how to begin. Obviously I need to adjust my diet and start exercising. I suppose I will try spark people again. I think they're the way to start, because they'll allow me to track calories. Of course, I need to start doing something, essentially my day starts with waking up, going to work, sitting at work for 8 hours, driving home, sitting at home either watching tv to on the computer, eating dinner, watching more tv and sleep. Of course, that is a rough idea of my average weekday, but as sad as it sounds it is pretty true. I think I need to start slow, just walking outside. I like my neighborhood because I have noticed the circle around my street is roughly a mile, so including the distance to and from my house it would be a mile. So I am going to start there. We'll see how it goes as diets and I don't get along.
Subscribe to:
Posts (Atom)
I don't have a clue
I'm so very tired. It's almost all the time now.
-
It's funny sometimes, you think that you did something good by figuring out why something isn't working, but instead people assume y...
-
This is a gross exxageration of what my hair looks like. I combed it all out and up as opposed to down and over. Scary isn't it.
-
It has now been 1 month since I got married to the most wonderful, beautiful, amazing girl in the world. I love her. I really do. I am ge...