Skip to content

Error message: Use of uninitialized value $ENV{"HOME"} in concatenation... #23

@ArchCast

Description

@ArchCast

The full error message for query time:
"Use of uninitialized value $ENV{"HOME"} in concatenation (.) or string at /usr/lib64/nagios/plugins/check_postgres.pl line 868. "

This message occurs on icinga's front-end screen, but returns the proper output on the commandline including running it as user icinga.

Here's my config:
check_postgres.pl -H $HOSTADDRESS$ --dbuser=X --dbpass=X --action=query_time -w 10 -c 15

Using Perl v5.10.1., CentOS release 6.3 (Final), icinga 1.8.4 and the latest check_postgres.pl (10454 lines (8340 sloc) 382.487 kb).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions