Skip to content

Data too long for column 'check_command' #22

@sethmay

Description

@sethmay

We were working through problems with StatusEngine not picking up a number of our Nagios services and ran into a number of log entries like the following:

Data too long for column 'check_command' at row X

Seen in both syslog and when running "/opt/statusengine/worker/bin/StatusengineWorker.php" directly.

To fix this, we increased the size of the "check_command" columns in both "statusengine_servicestatus" and "statusengine_hoststatus" from VARCHAR(255) to VARCHAR(512). Once we made the change, the errors disappeared and the missing services appeared.

This may be a change that should be made to to database SQL file.

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