[rt-users] RTx::Shredder question

Anya Figlin afiglin at pictage.com
Thu Apr 7 10:50:19 EDT 2005


Has anyone tested RTx::Shredder patches with RT 3.0.10?

Thanks,
-anya
-----Original Message-----
From: rt-users-bounces at lists.bestpractical.com
[mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of
rt-users-request at lists.bestpractical.com
Sent: Thursday, April 07, 2005 6:14 AM
To: rt-users at lists.bestpractical.com
Subject: RT-Users Digest, Vol 13, Issue 38

Send RT-Users mailing list submissions to
	rt-users at lists.bestpractical.com

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
or, via email, send a message with subject or body 'help' to
	rt-users-request at lists.bestpractical.com

You can reach the person managing the list at
	rt-users-owner at lists.bestpractical.com

When replying, please edit your Subject line so it is more specific than
"Re: Contents of RT-Users digest..."


Today's Topics:

   1. RT always tries authenticate me every time I click a	link.
      (jay alvarez)
   2. 10 newest unowned tickets... bug? (Tim Bishop)
   3. RT and Nagios? (Thomas Earl)
   4. Re: Showing stalled tickets (Drew Barnes)
   5. RE: RT and Nagios? (Norton, Ian)
   6. Re: 10 newest unowned tickets... bug? (Russell Mosemann)
   7. Re: Showing stalled tickets (Russell Mosemann)
   8. Handling user sessions? (Tomas A. P. Olaj)
   9. Re: Handling user sessions? (Jesse Vincent)
  10. Cascade delete tool? (Tomas A. P. Olaj)
  11. RT administration tips (Jesse Vincent)
  12. Re: Cascade delete tool? (Jesse Vincent)


----------------------------------------------------------------------

Message: 1
Date: Thu, 7 Apr 2005 02:23:26 -0700 (PDT)
From: jay alvarez <rtb0y at yahoo.com>
Subject: [rt-users] RT always tries authenticate me every time I click
	a	link.
To: rt-users at lists.bestpractical.com
Message-ID: <20050407092327.17554.qmail at web42108.mail.yahoo.com>
Content-Type: text/plain; charset=us-ascii

Hi,
  I have a problem. Before, I only log in once at rt's login page. But now,
for some reasons, whenever I click a link at the top left of RT, eg;RTFM,
Preferences, Tickets, Tools, Configurations etc. rt always redirects me to
its log-in page as if it did not remember my account the very first time I
log into it. 
   This is weird because I haven't experience it before. Sometimes I can
access the link without being redirected to rt's login page, and
unfortunately sometimes not.

Do you have any idea why this is happening? 


Thanks a lot..







		
__________________________________
Yahoo! Messenger
Show us what our next emoticon should look like. Join the fun. 
http://www.advision.webevents.yahoo.com/emoticontest


------------------------------

Message: 2
Date: Thu, 7 Apr 2005 10:31:21 +0100
From: Tim Bishop <tim-lists at bishnet.net>
Subject: [rt-users] 10 newest unowned tickets... bug?
To: rt-users at lists.bestpractical.com
Message-ID: <20050407093121.GB38492 at carrick.bishnet.net>
Content-Type: text/plain; charset=us-ascii

Can someone else confirm that this is correct:

The 10 newest unowned tickets panel shows the 10 newest unowned tickets
across all queues, but only those for queues which you have the right to
see?

Rather than the 10 newest unowned tickets on queues which you have the right
to see.

The latter seems more useful, to me.

Cheers,
Tim.

--
Tim Bishop
http://www.bishnet.net/tim/
PGP Key: 0x5AE7D984


------------------------------

Message: 3
Date: Thu, 07 Apr 2005 07:48:02 -0400
From: Thomas Earl <tearl at cacdhh.org>
Subject: [rt-users] RT and Nagios?
To: Request Tracker <rt-users at lists.bestpractical.com>
Message-ID: <1112874482.3451.35.camel at linux.cacdhh.org>
Content-Type: text/plain

Greetings to all, 

Has anyone intergrated RT with Nagios? Doesn't seem like alot of
intergration, but one thing that I'm trying to figure out is Nagios send
out email for an alarm, but it will send on an DOWN and a UP. If I want
those to be under the same ticket, how do I do that? 

Thanks, 

Tom



------------------------------

Message: 4
Date: Thu, 07 Apr 2005 08:13:49 -0400
From: Drew Barnes <barnesaw at ucrwcu.rwc.uc.edu>
Subject: Re: [rt-users] Showing stalled tickets
To: Tim Bishop <tim-lists at bishnet.net>
Cc: rt-users at lists.bestpractical.com
Message-ID: <425523FD.1060209 at ucrwcu.rwc.uc.edu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed



Tim Bishop wrote:

>I want to make stalled tickets show up in the "10 highest priority
>tickets I own" on the home screen, and when you click on a queue name
>under "Quick search".
>
>Both look like relatively simple changes in Elements/MyTickets and
>Elements/Quicksearch. But, I'd like to do this using something like the
>Callback stuff - since I'd prefer not to modify the RT code itself. Is
>this doable?
>  
>
Instead of modifying share/html/Elements/QuickSearch, copy it to 
local/html/Elements/QuickSearch and modify it there.  The local copy 
will override the share copy and you haven't modified the code, really, 
as simply removing the local file will make RT revert to the original setup.

DB

-- 
Drew Barnes
Applications Analyst
Raymond Walters College
University of Cincinnati



------------------------------

Message: 5
Date: Thu, 7 Apr 2005 13:46:17 +0100
From: "Norton, Ian" <i.norton at lancaster.ac.uk>
Subject: RE: [rt-users] RT and Nagios?
To: "Thomas Earl" <tearl at cacdhh.org>,	"Request Tracker"
	<rt-users at lists.bestpractical.com>
Message-ID:
	<7F332A8009EE5D4CB62C87717A3498A10C79CE63 at exchange-be1.lancs.ac.uk>
Content-Type: text/plain;	charset="us-ascii"

Hi Tom,

I did this about two years ago for our own requirements,
but it wasn't and still isn't very pretty :)

The approach that I took was as follows:

  Don't use the nagios email notification
  Write a perl module to read the nagios status information
  Write a perl module to query RT (Which you can probably do using the
RT API)
  I only notify of the outage and not of the return to service.
    We don't want flapping hosts to spam the ticket
    We want our operations desk to investigate potential problems, check
graphs etc.
  Use Nagios's comment field to store the ticket numbers for this host
  Use Nagios's host notification field to log if RT knows about the
problem

I have a note of my script algorithm :

  If nagios has been restarted in the last 30 mins, exit until things
stabilise
    We did this because we were getting a flood of tickets after each
restart.
    I think it's something to do with hard and soft states, but I can't
remember now!

  Get a list of hosts that are up but have notification disabled.
  Is the ticket related to this host still open?
  No - enable notifications for this host

  Get a list of hosts that are down and notifications are enabled.
  For each host
    Is there a ticket open for this host?
    No - Track down the parent host that starts the outage
         Disable notifications for hosts from parent downwards
         Mail RT with the details
         Search RT to get the ticket number and log it as a nagios
comment
           on the host.

I'm using the host IP address to search RT and the email that goes to RT
has
a complete list of the hosts with IP address for searching.

The code I have is based around our own network management system and
doesn't
rely entirely on nagios to build the host hierarchy, but I'm sure it
could be done.

If I was re-implementing the whole thing now, I'd probably use custom
fields to store the
IP addresses in the ticket and change the ticket injection to be direct
via the RT API
rather than doing things by email.  Our eventual intention is to do this
via SOAP from
a central stats and status server that knows about all the nagios
instances and hosts on
each system, but that's probably some way off yet!

Hope this helps you a little.

Regards, Ian.

-----Original Message-----
From: rt-users-bounces at lists.bestpractical.com
[mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Thomas
Earl
Sent: 07 April 2005 12:48
To: Request Tracker
Subject: [rt-users] RT and Nagios?

Greetings to all, 

Has anyone intergrated RT with Nagios? Doesn't seem like alot of
intergration, but one thing that I'm trying to figure out is Nagios send
out email for an alarm, but it will send on an DOWN and a UP. If I want
those to be under the same ticket, how do I do that? 

Thanks, 

Tom

_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

RT Administrator and Developer training is coming to your town soon!
(Boston, San Francisco, Austin, Sydney) Contact
training at bestpractical.com for details.

Be sure to check out the RT Wiki at http://wiki.bestpractical.com


------------------------------

Message: 6
Date: Thu, 7 Apr 2005 07:47:50 -0500 (CDT)
From: Russell Mosemann <mose at ns.cune.edu>
Subject: Re: [rt-users] 10 newest unowned tickets... bug?
To: Tim Bishop <tim-lists at bishnet.net>
Cc: rt-users at lists.bestpractical.com
Message-ID: <Pine.SOL.4.21.0504070746030.11329-100000 at ns.cune.edu>
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Thu, 7 Apr 2005, Tim Bishop wrote:

> The 10 newest unowned tickets panel shows the 10 newest unowned tickets
> across all queues, but only those for queues which you have the right to
> see?

but only for those queues for which you have the ShowTicket right.

> Rather than the 10 newest unowned tickets on queues which you have the
> right to see.

That's basically what you said above.

----
Russell Mosemann, Ph.D. * Computing Services * Concordia University,
Nebraska
"Did you hear about the little devil who got run over by a lawn mower?
 He went to the local liquor store because he heard they retailed spirits."



------------------------------

Message: 7
Date: Thu, 7 Apr 2005 07:54:42 -0500 (CDT)
From: Russell Mosemann <mose at ns.cune.edu>
Subject: Re: [rt-users] Showing stalled tickets
To: Tim Bishop <tim-lists at bishnet.net>
Cc: rt-users at lists.bestpractical.com
Message-ID: <Pine.SOL.4.21.0504070748180.11329-100000 at ns.cune.edu>
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Thu, 7 Apr 2005, Tim Bishop wrote:

> I want to make stalled tickets show up in the "10 highest priority
> tickets I own" on the home screen, and when you click on a queue name
> under "Quick search".

They are easy changes.  Copy rt3/share/html/Elements/MyRequests, MyTickets
and Quicksearch to the local tree and everywhere it has

    Status = 'new' OR Status = 'open'

change it to

    Status = 'new' OR Status = 'open' OR Status = 'stalled'

----
Russell Mosemann, Ph.D. * Computing Services * Concordia University,
Nebraska
"Did you hear about the missionaries who went to witness to the
 cannibals?  The missionaries gave them their first taste of religion."



------------------------------

Message: 8
Date: Thu, 7 Apr 2005 14:55:41 +0200 (CEST)
From: "Tomas A. P. Olaj" <tomas.olaj at usit.uio.no>
Subject: [rt-users] Handling user sessions?
To: rt-users at lists.bestpractical.com
Message-ID: <Pine.LNX.4.58-L.0504071447370.13228 at attila.uio.no>
Content-Type: TEXT/PLAIN; charset=US-ASCII


Hi,

I notice that session data are stored locally under
RT_PATH/var/session_data. But there's also an empty session table in the
RT database (we use Postgres).

In the future we need a system that can scale after need, and with
failover. So we need:

* database and webserver on different machines.
* a webserver cluster solution

Thus we need to find out how RT handles sessions data, so we can configure
a cluster solution.

* database cluster/replication

The question may be; how can we change the default local file handling of
sessions data to use the sessions table instead, so we can put more than 1
webserver in front as a failover solution?

-- 
________________________________________________________________________
Tomas A. P. Olaj, email: tomas.olaj at usit.uio.no, web: folk.uio.no/tomaso
 University of Oslo / USIT (Center for Information Technology Services)
   System- and Application Management / Applications Management Group


------------------------------

Message: 9
Date: Thu, 7 Apr 2005 08:57:54 -0400
From: Jesse Vincent <jesse at bestpractical.com>
Subject: Re: [rt-users] Handling user sessions?
To: "Tomas A. P. Olaj" <tomas.olaj at usit.uio.no>
Cc: rt-users at lists.bestpractical.com
Message-ID: <20050407125754.GG22996 at bestpractical.com>
Content-Type: text/plain; charset=us-ascii



On Thu, Apr 07, 2005 at 02:55:41PM +0200, Tomas A. P. Olaj wrote:
> 
> Hi,
> 
> I notice that session data are stored locally under
> RT_PATH/var/session_data. But there's also an empty session table in the
> RT database (we use Postgres).

Have you set RT::WebSessionClass?   These days, RT should be defaulting
to sticking sessions in the database?

	Jesse


------------------------------

Message: 10
Date: Thu, 7 Apr 2005 15:08:19 +0200 (CEST)
From: "Tomas A. P. Olaj" <tomas.olaj at usit.uio.no>
Subject: [rt-users] Cascade delete tool?
To: rt-users at lists.bestpractical.com
Message-ID: <Pine.LNX.4.58-L.0504071506330.13228 at attila.uio.no>
Content-Type: TEXT/PLAIN; charset=US-ASCII


Only a curious question.

Just a short question if BP are working with a cascade deletion tool, for
cleaning up users, queues, and so on. I like to keep things tidy. ;)

-- 
________________________________________________________________________
Tomas A. P. Olaj, email: tomas.olaj at usit.uio.no, web: folk.uio.no/tomaso
 University of Oslo / USIT (Center for Information Technology Services)
   System- and Application Management / Applications Management Group


------------------------------

Message: 11
Date: Thu, 7 Apr 2005 09:11:44 -0400
From: Jesse Vincent <jesse at bestpractical.com>
Subject: [rt-users] RT administration tips
To: rt-users at lists.bestpractical.com
Message-ID: <20050407131144.GH22996 at bestpractical.com>
Content-Type: text/plain; charset=us-ascii

Let's say that someone were writing a book about RT and that that book
had a chapter on "Tips and Howtos for RT administrators."  What would
you want to see in that chapter?  Please reply only to me, NOT to the
list.  (And yes, I promise to be a bit less cloak and dagger in the near
future)

	Jesse


-- 


------------------------------

Message: 12
Date: Thu, 7 Apr 2005 09:13:34 -0400
From: Jesse Vincent <jesse at bestpractical.com>
Subject: Re: [rt-users] Cascade delete tool?
To: "Tomas A. P. Olaj" <tomas.olaj at usit.uio.no>
Cc: rt-users at lists.bestpractical.com
Message-ID: <20050407131334.GI22996 at bestpractical.com>
Content-Type: text/plain; charset=us-ascii




On Thu, Apr 07, 2005 at 03:08:19PM +0200, Tomas A. P. Olaj wrote:
> 
> Only a curious question.
> 
> Just a short question if BP are working with a cascade deletion tool, for
> cleaning up users, queues, and so on. I like to keep things tidy. ;)

Ruslan Zakirov's RTx::Shredder might be of interest to you.

Jesse


------------------------------

_______________________________________________
RT-Users mailing list
RT-Users at lists.bestpractical.com
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users


End of RT-Users Digest, Vol 13, Issue 38
****************************************




More information about the rt-users mailing list