Re: [rt-users] Filter LDAP User for owner assign
thank you that's it. I've got to much rights to the unprivileged Group Kevin Falcone Gesendet von: rt-users-boun...@lists.bestpractical.com 03.01.2011 17:03 Bitte antworten an rt-users@lists.bestpractical.com An rt-users@lists.bestpractical.com Kopie Thema Re: [rt-users] Filter LDAP User for owner assign [AGES: Viren geprüft !!] On Mon, Jan 03, 2011 at 11:21:59AM +0100, ingo.it...@ages.de wrote: >now we have a lage number of LDAP Users listed in the Owner Dropdown Field. We assigned a >ticket only a view staff members, so how can i filter the dropdown Field ? You probably assigned OwnTicket to Everyone or Unprivileged, either globally or on a queue level and need to make sure that right only goes to staff users -kevin ___ Geschäftsführer: Rolf Herzog, Thomas Benk AGES Maut System GmbH & Co. KG AG Düsseldorf HRA 14045, USt-IdNr.: DE 202525868 AGES International GmbH & Co. KG AG Düsseldorf HRA 16636, USt-IdNr.: DE 813749831 AGES ETS GmbH AG Düsseldorf HRB 55580, USt-IdNr.: DE 814789134
[rt-users] Filter LDAP User for owner assign
Hello, now we have a lage number of LDAP Users listed in the Owner Dropdown Field. We assigned a ticket only a view staff members, so how can i filter the dropdown Field ? Greetings Ingo ___ Geschäftsführer: Rolf Herzog, Thomas Benk AGES Maut System GmbH & Co. KG AG Düsseldorf HRA 14045, USt-IdNr.: DE 202525868 AGES International GmbH & Co. KG AG Düsseldorf HRA 16636, USt-IdNr.: DE 813749831 AGES ETS GmbH AG Düsseldorf HRB 55580, USt-IdNr.: DE 814789134
[rt-users] EMail NotifyAction doesnt work
Hallo List, i've created a "notify on create script" described here http://wiki.bestpractical.com/view/SendEmailAction but it doesnt work. I put Script and Template in the Global Scrips or in the Queue but both doesnt work. As a woraround i put an CC into the Autoreply Script, and it works but something must be wrong in my configuration. Must i set Rights to execute the AutoNotify Script ? Greetings Ingo ___ Geschäftsführer: Rolf Herzog, Thomas Benk AGES Maut System GmbH & Co. KG AG Düsseldorf HRA 14045, USt-IdNr.: DE 202525868 AGES International GmbH & Co. KG AG Düsseldorf HRA 16636, USt-IdNr.: DE 813749831 AGES ETS GmbH AG Düsseldorf HRB 55580, USt-IdNr.: DE 814789134
[rt-users] auto repoen after E-Mail answer
Hello, how can i disable the automatic Reopen if the Requestor answer via E-Mail a closed (resolved) ticket ? Thank you ___ Geschäftsführer: Rolf Herzog, Thomas Benk AGES Maut System GmbH & Co. KG AG Düsseldorf HRA 14045, USt-IdNr.: DE 202525868 AGES International GmbH & Co. KG AG Düsseldorf HRA 16636, USt-IdNr.: DE 813749831 AGES ETS GmbH AG Düsseldorf HRB 55580, USt-IdNr.: DE 814789134
[rt-users] Antwort: Re: numeric search RTFM
in the RTFM Overview Screen is a "Search RTFM" Field. We've created a Article with the Name: "Event: 8019 Source: NTBackup" If we search by the keyword "8019", RTFM reportet "No matches" Kevin Falcone Gesendet von: rt-users-boun...@lists.bestpractical.com 25.11.2010 15:11 Bitte antworten an rt-users@lists.bestpractical.com An rt-users@lists.bestpractical.com Kopie Thema Re: [rt-users] numeric search RTFM [AGES: Viren geprüft !!] On Mon, Nov 22, 2010 at 01:53:17PM +0100, ingo.it...@ages.de wrote: >Hello, > >i try to search an RTFM Articel with the Topic "Error Number 8016" by i've got no results. >I think, if i query a nummer, the system search only Articel Numbers ? >Is that true and how can i search numeric Phases ? You don't say how you're searching. From the quick search? From the article search builder? Do you mean Topic or do you mean you are searching for the summary? -kevin ___ Geschäftsführer: Rolf Herzog, Thomas Benk AGES Maut System GmbH & Co. KG AG Düsseldorf HRA 14045, USt-IdNr.: DE 202525868 AGES International GmbH & Co. KG AG Düsseldorf HRA 16636, USt-IdNr.: DE 813749831 AGES ETS GmbH AG Düsseldorf HRB 55580, USt-IdNr.: DE 814789134 attwxole.dat Description: Binary data
[rt-users] numeric search RTFM
Hello, i try to search an RTFM Articel with the Topic "Error Number 8016" by i've got no results. I think, if i query a nummer, the system search only Articel Numbers ? Is that true and how can i search numeric Phases ? Greetings from Germany Ingo ___ Geschäftsführer: Rolf Herzog, Thomas Benk AGES Maut System GmbH & Co. KG AG Düsseldorf HRA 14045, USt-IdNr.: DE 202525868 AGES International GmbH & Co. KG AG Düsseldorf HRA 16636, USt-IdNr.: DE 813749831 AGES ETS GmbH AG Düsseldorf HRB 55580, USt-IdNr.: DE 814789134
[rt-users] Antwort: RE: default owner [AGES : Viren geprüft !!]
Hello Steve, it works, thank you Steve Anderson 15.10.2010 12:11 An "ingo.it...@ages.de" , "rt-users@lists.bestpractical.com" Kopie Thema RE: [rt-users] default owner [AGES: Viren geprüft !!] Easiest way is with a scrip. The scrip below is one that my team uses. It?s slightly different than what you?re wanting, as it only acts if the creator is a member of our team; as the team is only three people, I?ve just hard coded the ids, but if you remove the return 1 unless ($actor==60 line, it?ll do what you want. Steve Anderson Scrip: On create User Defined Global Template: Blank Transaction Create Custom Action preparation code: return 1; Custom Action Cleanup code: # get actor ID my $Actor = $self->TransactionObj->Creator; # if actor is RT_SystemUser then get out of here return 1 if $Actor == $RT::SystemUser->id; # don't set owner unless requestor is a member of the network team return 1 unless ($Actor == 60 || $Actor == 53802 || $Actor == 105200); # get out unless ticket owner is nobody return 1 unless $self->TicketObj->Owner == $RT::Nobody->id; # ok, try to change owner $RT::Logger->info("Auto assign ticket #". $self->TicketObj->id ." to user #". $Actor ); my ($status, $msg) = $self->TicketObj->SetOwner( $Actor ); unless( $status ) { $RT::Logger->error( "Impossible to assign the ticket to $Actor: $msg" ); return undef; } $self->TicketObj->SetStatus('open'); return 1; From: rt-users-boun...@lists.bestpractical.com [mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of ingo.it...@ages.de Sent: 15 October 2010 08:06 To: rt-users@lists.bestpractical.com Subject: [rt-users] default owner Hello List, how can i set default owner to the value of the creator ?. The default setting is nobody Thank you ___ Geschäftsführer: Rolf Herzog, Thomas Benk AGES Maut System GmbH & Co. KG AG Düsseldorf HRA 14045, USt-IdNr.: DE 202525868 AGES International GmbH & Co. KG AG Düsseldorf HRA 16636, USt-IdNr.: DE 813749831 AGES ETS GmbH AG Düsseldorf HRB 55580, USt-IdNr.: DE 814789134 This email has been scanned by Netintelligence http://www.netintelligence.com/email BiP Solutions Limited is a company registered in Scotland with Company Number SC086146 and VAT number 383030966 and having its registered office at Medius, 60 Pacific Quay, Glasgow, G51 1DZ. This e-mail (and any attachment) is intended only for the attention of the addressee(s). Its unauthorised use, disclosure, storage or copying is not permitted. If you are not the intended recipient, please destroy all copies and inform the sender by return e-mail. This e-mail (whether you are the sender or the recipient) may be monitored, recorded and retained by BiP Solutions Ltd. E-mail monitoring/ blocking software may be used, and e-mail content may be read at any time.You have a responsibility to ensure laws are not broken when composing or forwarding e-mails and their contents. ___ Geschäftsführer: Rolf Herzog, Thomas Benk AGES Maut System GmbH & Co. KG AG Düsseldorf HRA 14045, USt-IdNr.: DE 202525868 AGES International GmbH & Co. KG AG Düsseldorf HRA 16636, USt-IdNr.: DE 813749831 AGES ETS GmbH AG Düsseldorf HRB 55580, USt-IdNr.: DE 814789134 RT Training in Washington DC, USA on Oct 25 & 26 2010 Last one this year -- Learn how to get the most out of RT!
[rt-users] default owner
Hello List, how can i set default owner to the value of the creator ?. The default setting is nobody Thank you ___ Geschäftsführer: Rolf Herzog, Thomas Benk AGES Maut System GmbH & Co. KG AG Düsseldorf HRA 14045, USt-IdNr.: DE 202525868 AGES International GmbH & Co. KG AG Düsseldorf HRA 16636, USt-IdNr.: DE 813749831 AGES ETS GmbH AG Düsseldorf HRB 55580, USt-IdNr.: DE 814789134 RT Training in Washington DC, USA on Oct 25 & 26 2010 Last one this year -- Learn how to get the most out of RT!
Re: [rt-users] Mailgate and Exam4
Hello John, thanks for your help, but the way described also in the book does'nt work, because the actual Exim MTA does'nt default support the Pipe so i need a other way to pipe the Mails into the RT Mailgate Here the description ### router/400_exim4-config_system_aliases # # This router handles aliasing using a traditional /etc/aliases file. # # NB You must ensure that /etc/aliases exists. It used to be the case # NB that every Unix had that file, because it was the Sendmail default. # NB These days, there are systems that don't have it. Your aliases # NB file should at least contain an alias for "postmaster". # # This router handles the local part in a case-insensitive way which # satisfies the RFCs requirement that postmaster be reachable regardless # of case. If you decide to handle /etc/aliases in a caseful way, you # need to make arrangements for a caseless postmaster. # # Delivery to arbitrary directories, files, and piping to programs in # /etc/aliases is disabled per default. "John Constable" 23.09.2010 18:32 An , Kopie Thema RE: [rt-users] Mailgate and Exam4 [AGES: Viren geprüft !!] Assuming I?ve understood you correctly, this ?just worked? for us with Centos 5 and Exim 4. We added an entry like the following to the aliases file; #RT mailqueues hrtracker: "|/opt/rt3/bin/rt-mailgate --queue hrtracker --action correspond --url http://hrtracker.ipaccess.com/"; hrtracker-comment: "|/opt/rt3/bin/rt-mailgate --queue hrtracker --action comment --url http://hrtracker.ipaccess.com/"; [r...@camhrpin01 ~]# rpm -qv exim exim-4.63-3.el5 [r...@camhrpin01 ~]# cat /etc/redhat-release CentOS release 5.3 (Final) I?ve also use it successfully on assorted Debian installs of Exim4. So it may not be Exim that?s at the root of your problem. Hope that helps, John p.s. first post from me all, so apologies if I?ve missed any list conventions.. From: rt-users-boun...@lists.bestpractical.com [mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of ingo.it...@ages.de Sent: 23 September 2010 15:46 To: rt-users@lists.bestpractical.com Subject: [rt-users] Mailgate and Exam4 Hello, can anyone explain the settings for configure Exam4 with Mailgate Support ? Unfortunatly Exam4 does'nt support Piping via Aliases May i can receive an example config for Exim4 ? Thanks ans greetings froim Germany Ingo v. Itter ___ Geschäftsführer: Rolf Herzog, Thomas Benk AGES Maut System GmbH & Co. KG AG Düsseldorf HRA 14045, USt-IdNr.: DE 202525868 AGES International GmbH & Co. KG AG Düsseldorf HRA 16636, USt-IdNr.: DE 813749831 AGES ETS GmbH AG Düsseldorf HRB 55580, USt-IdNr.: DE 814789134 ___ Geschäftsführer: Rolf Herzog, Thomas Benk AGES Maut System GmbH & Co. KG AG Düsseldorf HRA 14045, USt-IdNr.: DE 202525868 AGES International GmbH & Co. KG AG Düsseldorf HRA 16636, USt-IdNr.: DE 813749831 AGES ETS GmbH AG Düsseldorf HRB 55580, USt-IdNr.: DE 814789134 RT Training in Washington DC, USA on Oct 25 & 26 2010 Last one this year -- Learn how to get the most out of RT!
[rt-users] Mailgate and Exam4
Hello, can anyone explain the settings for configure Exam4 with Mailgate Support ? Unfortunatly Exam4 does'nt support Piping via Aliases May i can receive an example config for Exim4 ? Thanks ans greetings froim Germany Ingo v. Itter ___ Geschäftsführer: Rolf Herzog, Thomas Benk AGES Maut System GmbH & Co. KG AG Düsseldorf HRA 14045, USt-IdNr.: DE 202525868 AGES International GmbH & Co. KG AG Düsseldorf HRA 16636, USt-IdNr.: DE 813749831 AGES ETS GmbH AG Düsseldorf HRB 55580, USt-IdNr.: DE 814789134 RT Training in Washington DC, USA on Oct 25 & 26 2010 Last one this year -- Learn how to get the most out of RT!
[rt-users] Set Comment on CLI Create ?
Hello, i read in the past, that there is no way to get an Comment to a ticket, that i create ? I've try: opt/rt3/bin/rt create -t ticket set status=new Queue=Operating owner=nobody requestors=nagios Comment='This is the Comment' subject='Test Subject 2' ___ Geschäftsführer: Rolf Herzog, Thomas Benk AGES Maut System GmbH & Co. KG AG Düsseldorf HRA 14045, USt-IdNr.: DE 202525868 AGES International GmbH & Co. KG AG Düsseldorf HRA 16636, USt-IdNr.: DE 813749831 AGES ETS GmbH AG Düsseldorf HRB 55580, USt-IdNr.: DE 814789134 RT Training in Washington DC, USA on Oct 25 & 26 2010 Last one this year -- Learn how to get the most out of RT!
[rt-users] New between Open
Hello, can someone explain the different between the Ticket State "new" and "open" ? Thank you Greetings from Germany Ingo von Itter ___ Geschäftsführer: Rolf Herzog, Thomas Benk AGES Maut System GmbH & Co. KG AG Düsseldorf HRA 14045, USt-IdNr.: DE 202525868 AGES International GmbH & Co. KG AG Düsseldorf HRA 16636, USt-IdNr.: DE 813749831 AGES ETS GmbH AG Düsseldorf HRB 55580, USt-IdNr.: DE 814789134 RT Training in Washington DC, USA on Oct 25 & 26 2010 Last one this year -- Learn how to get the most out of RT!
[rt-users] Antwort: Re: CLI create with Custom Fields again
ok, i have reached the correct syntax for custom fields: /opt/rt3/bin/rt create -t ticket set status=new subject='Alarm for Sever' owner='owner' queue='Operating' requestors='operat...@company.com' admincc='i...@company.com' priority='99' 'Server'='FILESRV01' where "Server" is the Custom Field ... Kevin Falcone Gesendet von: rt-users-boun...@lists.bestpractical.com 27.08.2010 20:03 Bitte antworten an rt-users@lists.bestpractical.com An rt-users@lists.bestpractical.com Kopie Thema Re: [rt-users] CLI create with Custom Fields again There is also a large collection of examples in the test suite -kevin On Fri, Aug 27, 2010 at 01:50:52PM +0200, Torsten Brumm wrote: >Hi Ingo, >if i'm not 100% wrong, the cli is using the same methods like offline edits and there you can >do: >===Create-Ticket: ticket1 >Queue: General >Subject: a subject >Status: new >Due: -mm-dd hh:mm:ss >Starts: -mm-dd hh:mm:ss >Started: -mm-dd hh:mm:ss >Resolved: >Owner: name >Requestor: mail >Cc: mail >AdminCc: mail >TimeWorked: value >TimeEstimated: value >TimeLeft: value >InitialPriority: value >FinalPriority: value >DependsOn: id >RefersTo: id >ReferredToBy: id >Children: id >DependedOnBy: id >Parents: id >CustomField-FieldName: Value >Content: >Some text content >ENDOFCONTENT >But not checked out at the moment, just drop a mail if you need more help >Torsten from rainy town >2010/8/26 <[1]ingo.it...@ages.de> > > Hello, > > i searched the whole Mailinglist for a correct syntax to ceate a new ticket via CLI with an > custom Field. > I try to create an Ticket with the CustomField named "Server" and the value "FILESRV01" > > Have anyone please an example for me ? > > Thanks and Greetings from Germany > > Ingo von Itter > Ratingen/Gemany > > PS: Have anyone a link or documentation about RT in German ? > War ja nur ne Frage > > ___ > Gesch*ftsf*hrer: Rolf Herzog, Thomas Benk > AGES Maut System GmbH & Co. KG > AG D*sseldorf HRA 14045, USt-IdNr.: DE 202525868 > AGES International GmbH & Co. KG > AG D*sseldorf HRA 16636, USt-IdNr.: DE 813749831 > AGES ETS GmbH > AG D*sseldorf HRB 55580, USt-IdNr.: DE 814789134 > > RT Training in Washington DC, USA on Oct 25 & 26 2010 > Last one this year -- Learn how to get the most out of RT! > >-- >MFG > >Torsten Brumm > >[2]http://www.brumm.me >[3]http://www.elektrofeld.de > > References > >Visible links >1. mailto:ingo.it...@ages.de >2. http://www.brumm.me/ >3. http://www.elektrofeld.de/ > > RT Training in Washington DC, USA on Oct 25 & 26 2010 > Last one this year -- Learn how to get the most out of RT! RT Training in Washington DC, USA on Oct 25 & 26 2010 Last one this year -- Learn how to get the most out of RT! ___ Geschäftsführer: Rolf Herzog, Thomas Benk AGES Maut System GmbH & Co. KG AG Düsseldorf HRA 14045, USt-IdNr.: DE 202525868 AGES International GmbH & Co. KG AG Düsseldorf HRA 16636, USt-IdNr.: DE 813749831 AGES ETS GmbH AG Düsseldorf HRB 55580, USt-IdNr.: DE 814789134 attdf10z.dat Description: Binary data RT Training in Washington DC, USA on Oct 25 & 26 2010 Last one this year -- Learn how to get the most out of RT!
[rt-users] Antwort: Re: CLI create with Custo m Fields again [AGES: Viren geprüft !!]
Where can i find the test Suite ? Please tell me the correct Link /URL to the Suite Kevin Falcone Gesendet von: rt-users-boun...@lists.bestpractical.com 27.08.2010 20:03 Bitte antworten an rt-users@lists.bestpractical.com An rt-users@lists.bestpractical.com Kopie Thema Re: [rt-users] CLI create with Custom Fields again [AGES: Viren geprüft !!] There is also a large collection of examples in the test suite -kevin On Fri, Aug 27, 2010 at 01:50:52PM +0200, Torsten Brumm wrote: >Hi Ingo, >if i'm not 100% wrong, the cli is using the same methods like offline edits and there you can >do: >===Create-Ticket: ticket1 >Queue: General >Subject: a subject >Status: new >Due: -mm-dd hh:mm:ss >Starts: -mm-dd hh:mm:ss >Started: -mm-dd hh:mm:ss >Resolved: >Owner: name >Requestor: mail >Cc: mail >AdminCc: mail >TimeWorked: value >TimeEstimated: value >TimeLeft: value >InitialPriority: value >FinalPriority: value >DependsOn: id >RefersTo: id >ReferredToBy: id >Children: id >DependedOnBy: id >Parents: id >CustomField-FieldName: Value >Content: >Some text content >ENDOFCONTENT >But not checked out at the moment, just drop a mail if you need more help >Torsten from rainy town >2010/8/26 <[1]ingo.it...@ages.de> > > Hello, > > i searched the whole Mailinglist for a correct syntax to ceate a new ticket via CLI with an > custom Field. > I try to create an Ticket with the CustomField named "Server" and the value "FILESRV01" > > Have anyone please an example for me ? > > Thanks and Greetings from Germany > > Ingo von Itter > Ratingen/Gemany > > PS: Have anyone a link or documentation about RT in German ? > War ja nur ne Frage > > ___ > Gesch*ftsf*hrer: Rolf Herzog, Thomas Benk > AGES Maut System GmbH & Co. KG > AG D*sseldorf HRA 14045, USt-IdNr.: DE 202525868 > AGES International GmbH & Co. KG > AG D*sseldorf HRA 16636, USt-IdNr.: DE 813749831 > AGES ETS GmbH > AG D*sseldorf HRB 55580, USt-IdNr.: DE 814789134 > > RT Training in Washington DC, USA on Oct 25 & 26 2010 > Last one this year -- Learn how to get the most out of RT! > >-- >MFG > >Torsten Brumm > >[2]http://www.brumm.me >[3]http://www.elektrofeld.de > > References > >Visible links >1. mailto:ingo.it...@ages.de >2. http://www.brumm.me/ >3. http://www.elektrofeld.de/ > > RT Training in Washington DC, USA on Oct 25 & 26 2010 > Last one this year -- Learn how to get the most out of RT! RT Training in Washington DC, USA on Oct 25 & 26 2010 Last one this year -- Learn how to get the most out of RT! ___ Geschäftsführer: Rolf Herzog, Thomas Benk AGES Maut System GmbH & Co. KG AG Düsseldorf HRA 14045, USt-IdNr.: DE 202525868 AGES International GmbH & Co. KG AG Düsseldorf HRA 16636, USt-IdNr.: DE 813749831 AGES ETS GmbH AG Düsseldorf HRB 55580, USt-IdNr.: DE 814789134 att59rxd.dat Description: Binary data RT Training in Washington DC, USA on Oct 25 & 26 2010 Last one this year -- Learn how to get the most out of RT!
[rt-users] CLI create with Custom Fields again
Hello, i searched the whole Mailinglist for a correct syntax to ceate a new ticket via CLI with an custom Field. I try to create an Ticket with the CustomField named "Server" and the value "FILESRV01" Have anyone please an example for me ? Thanks and Greetings from Germany Ingo von Itter Ratingen/Gemany PS: Have anyone a link or documentation about RT in German ? War ja nur ne Frage ___ Geschäftsführer: Rolf Herzog, Thomas Benk AGES Maut System GmbH & Co. KG AG Düsseldorf HRA 14045, USt-IdNr.: DE 202525868 AGES International GmbH & Co. KG AG Düsseldorf HRA 16636, USt-IdNr.: DE 813749831 AGES ETS GmbH AG Düsseldorf HRB 55580, USt-IdNr.: DE 814789134 RT Training in Washington DC, USA on Oct 25 & 26 2010 Last one this year -- Learn how to get the most out of RT!
[rt-users] Nagios and RT Integration
Hello, i tryed to implement the Hack from Evan into the C Source of then Nagios cmd.c File described in the Thread http://www.gossamer-threads.com/lists/rt/users/45186#45186 I have only a little knowledge of C , so i became a compiler Error. gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -o cmd.cgi cmd.c extcmd_list.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o cmd.c: In function ?make_ticket?: cmd.c:325: error: lvalue required as left operand of assignment cmd.c:329: warning: passing argument 1 of ?fgets? from incompatible pointer type cmd.c:330: warning: passing argument 1 of ?sprintf? from incompatible pointer type cmd.c: In function ?request_command_data?: cmd.c:1031: warning: passing argument 1 of ?sprintf? from incompatible pointer type cmd.c:1032: warning: passing argument 1 of ?sprintf? from incompatible pointer type cmd.c:1033: warning: passing argument 2 of ?make_ticket? from incompatible pointer type cmd.c:1033: warning: passing argument 3 of ?make_ticket? from incompatible pointer type cmd.c:1033: warning: passing argument 4 of ?make_ticket? from incompatible pointer type cmd.c:1035: warning: passing argument 1 of ?strtok? from incompatible pointer type cmd.c:1035: error: lvalue required as left operand of assignment cmd.c:1036: error: lvalue required as left operand of assignment cmd.c:1037: error: lvalue required as left operand of assignment cmd.c:1038: warning: passing argument 1 of ?sprintf? from incompatible pointer type cmd.c:1039: warning: passing argument 1 of ?sprintf? from incompatible pointer type cmd.c:1040: warning: passing argument 1 of ?snprintf? from incompatible pointer type cmd.c:1044: warning: passing argument 1 of ?snprintf? from incompatible pointer type Have anyone a correct cmd.c file for me, or have any suggestions ? Following Lines are added to the cmd.c file : 104 int subject(char *); 105 int rt_comment(char *); 106 int temp_rt_ticket_num(char *); 107 int temp_rt_comment(char *); 108 int nagios_rt_comment(char *); 109 int temp_rt_ticket_num(char *); 110 int command_buffer(char *); 111 int current_time(char *); 112 int ticket_result(char *); 113 int result(char *); 311 int make_ticket(char * username, char * subject, char * rt_comment, char * ticket_result) 312 313 { 314 char rt_command[300]; 315 char owner[100]; 316 FILE * temp_pipe; 317 char requestor[40]; 318 sprintf (requestor, "%s [at] mycompany", owner); 319 sprintf (rt_command,"/opt/rt3/bin/rt create -t ticket set status=new subject='%s' owner='%s' queue='Alarms' requestors='%s' adm incc='supervisor [at] mycompany' priority='99'", subject,owner,requestor); 320 321 /* Create the ticket */ 322 temp_pipe = popen(rt_command,"r"); 323 if (!temp_pipe) 324 { 325 result = "Failed to create Ticket"; 326 } 327 else 328 { 329 fgets(result, 300, temp_pipe); 330 sprintf (result, "%s", result); 331 } 332 } 1027 1028 if (do_make_ticket) 1029 { 1030 /* create a ticket in request tracker */ 1031 sprintf (subject, "Alarm for %s", host_name); 1032 sprintf (rt_comment, "%s", comment_data); 1033 make_ticket (current_authdata.username,subject,rt_comment, ticket_result); 1034 printf ("%s\n",ticket_result); 1035 temp_rt_ticket_num = strtok (ticket_result," "); 1036 temp_rt_ticket_num = strtok (NULL," "); 1037 temp_rt_ticket_num = strtok (NULL," "); 1038 sprintf (temp_rt_comment," Ticket #%s acknowledged by %s", temp_rt_ticket_num,current_authdata.username); 1039 sprintf (nagios_rt_comment, "%s %s", comment_data,temp_rt_comment); 1040 snprintf(command_buffer,sizeof(command_buffer)-1,"[%lu]ACKNOWLEDGE_HOST_PROBLEM;%s;%d;%d;%d;%s;%s\n",current_time,host_name,(st icky_ack==TRUE)?ACKNOWLEDGEMENT_STICKY:ACKNOWLEDGEMENT_NORMAL,(send_notification==TRUE)?1:0,(persistent_comment==TRUE)?1:0,comm ent_author,nagios_rt_comment); 1041 } 1042 else 1043 { 1044 snprintf(command_buffer,sizeof(command_buffer)-1,"[%lu]ACKNOWLEDGE_HOST_PROBLEM;%s;%d;%d;%d;%s;%s\n",current_time,host_name,(st icky_ack==TRUE)?ACKNOWLEDGEMENT_STICKY:ACKNOWLEDGEMENT_NORMAL,(send_notification==TRUE)?1:0,(persistent_comment==TRUE)?1:0,comm ent_author,comment_data); 1045 } 1046 break; 1047 Thank you Greetings from Germany Ingo von Itter ___ Geschäftsführer: Rolf Herzog, Thomas Benk AGES Maut System GmbH & Co. KG AG Düsseldorf HRA 14045, USt-IdNr.: DE 202525868 AGES International GmbH & Co. KG AG Düsseldorf HRA 16636, USt-IdNr.: DE 813749831 AGES ETS GmbH AG Düsseldorf HRB 55580, USt-IdNr.: DE 814789134 RT Training in Washington DC, USA on Oct 25 & 26 2010 Last one this year -- Learn how to get the most out of RT!
[rt-users] CLI: Server error: Proxy Authorization Required (407)
Hello, i try to create a new ticket via the CLI but i've got an Error. Here the settings of my .rtrc : server http://10.20.x.xx/ < the lokal adress of the Server user passwd If i do "/opt/rt3/bin/rt create -t ticket" i receive : rt: Server error: Proxy Authorization Required (407) My i should set the local adress in the Debian no proxy table an how i do this ? Greetings from Germany Ingo ___ Geschäftsführer: Rolf Herzog, Thomas Benk AGES Maut System GmbH & Co. KG AG Düsseldorf HRA 14045, USt-IdNr.: DE 202525868 AGES International GmbH & Co. KG AG Düsseldorf HRA 16636, USt-IdNr.: DE 813749831 AGES ETS GmbH AG Düsseldorf HRB 55580, USt-IdNr.: DE 814789134 Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com