Ad Widget

Collapse

Action script not triggered

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • abonne01
    Junior Member
    • Dec 2011
    • 15

    #1

    Action script not triggered

    Hello,

    I'm having an email action (smtp) which is working correctly.
    I added on it another action with a different media (I would like to trigger a script to open a ticket on a service desk tool).
    Click image for larger version

Name:	2022-05-11 12_32_22-Boîte de réception - abonnefoy@oxya.com - Outlook.png
Views:	787
Size:	26.0 KB
ID:	444389
    But this new media is not called (see screenshot, only email is sent, not the 2nd media).
    this is action : sent to cockpit user


    Click image for larger version

Name:	2022-05-11 12_36_29-PARZABPRD01_ Configuration of actions — Mozilla Firefox.png
Views:	878
Size:	10.1 KB
ID:	444391
    I created a dedicated user with this new media defined

    Click image for larger version

Name:	2022-05-11 12_37_36-PARZABPRD01_ Configuration of users — Mozilla Firefox.png
Views:	737
Size:	13.5 KB
ID:	444390

    this is media:
    Click image for larger version

Name:	2022-05-11 12_36_55-PARZABPRD01_ Configuration of media types — Mozilla Firefox.png
Views:	853
Size:	7.4 KB
ID:	444392
    Media is correctly defined (test is OK) and enabled.


    For testing purpose, I generated something which trigger a problem.
    Email is correctly sent.
    Script is not called.

    I found nothing about this on zabbix_server.log
    Action for script media doesn't apperars in report->action logs

    any help of how debugging this would be appreciated

    Thanks

    Antoine

  • Answer selected by abonne01 at 12-05-2022, 09:44.
    cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    Did you give enough permissions to that cockpit user? Action is not triggered, if user has no rights to objects in event...

    Comment

    • cyber
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • Dec 2006
      • 4807

      #2
      Did you give enough permissions to that cockpit user? Action is not triggered, if user has no rights to objects in event...

      Comment

      • abonne01
        Junior Member
        • Dec 2011
        • 15

        #3
        Hello.

        thanks, you pointed the issue.
        I added read permission on host group and action worked!.

        Enjoy day

        Comment

        Working...