Solved

Open-ticket - Create ticket in command line

  • 2 January 2023
  • 1 reply
  • 126 views

Badge +2

Hello ! 

 

I would like to create a ticket in the command line before create a eventhandler script.

 

I use this synthax : 

/usr/lib/centreon/plugins/centreon_notification_centreon_opentickets_api.pl --plugin notification::centreon::opentickets::api::plugin --mode=open-service --api-hostname='IP' --api-port=80 --api-proto=http --api-username=admin --api-password='mypassword' --rule-name='Rule JIRA' --host-id=69 --service-id=355 --service-output='SNMP Table Request: Timeout' --service-state='UNKNOWN'  

I’ve this error : 

Method not found

 

I’m not sure, what is the “service-output” and someone know any solution ?
 

icon

Best answer by xinerys 4 January 2023, 15:06

View original

1 reply

Badge +2

Problème résolue, je devais mettre à jour centreone en version 22.04 vers 22.10

Reply