question

stylus avatar image
0 Likes"
stylus asked

Automation for debug commands?

Any suggestions for creating an automation that run debug commands? For example:

Trigger - link-monitor fail

Action - Debug command, send output via email

Automation
10 |600

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

·
pingmemaybe avatar image
0 Likes"
pingmemaybe answered

Try an auto-script.

CLI commands run instantly from stitches so I doubt you could pipe the output somewhere.

I'd write an auto-script.

Trigger: link-monitor fail

Action: Run auto-script that logs outputs of commands (config sys auto-script & exec auto-script...)

10 |600

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Welcome to FortiAnswers

FortiAnswers is the space dedicated to FortiSASE and FortiOS questions and suggestions.

  • Please review the Community guidelines
  • If you are a moderator, please refer to the Moderation guidelines
  • If something in the above guidelines is unclear, please post your question to the Community Feedback space or the Moderators' space