Skip to content

uninitialized value when warn/crit thresholds not specified #22

@lesinigo

Description

@lesinigo

On fully updated Ubuntu 14.04 LTS systems the script will spit these warnings when not specifying -w and/or -c:

Use of uninitialized value in split at ./check_json.pl line 142.
Use of uninitialized value in split at ./check_json.pl line 143.

When -w is given the former goes away, when -c is given the latter goes away.
Seems like a minor, cosmetic issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions