Skip to content
This repository was archived by the owner on Apr 29, 2024. It is now read-only.

Conversation

@matthew-cox
Copy link

Additionally, move the script comments into POD. Try perldoc ./nagios.pl

Allow CLI usage help:

    $ ./nagios.pl -h
    Unknown option: h
    Usage:
        nagios.pl [--help] [-field slack_SOMETHING=value]

      -h, --help:
        This output

      -field:
        Provide slack related configuration. Possible choices include:

          * slack_channel - Target Slack channel for the message
          * slack_domain  - Slack domain for your team
          * slack_token   - Slack token for this integration

        NOTE: Providing the Slack token on the CLI might allow it to be read
        from /proc or the like.

Add nagios.pl specific README file (generated from POD).

Matthew Cox added 3 commits November 1, 2016 13:49
Also move comments into POD

Allow CLI usage help

Add nagios.pl specific README (generated from POD).
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant