Skip to content

Commit 385eebb cause short pointless srcid with truncated hostname #18

@xfors

Description

@xfors

For some reason commit 385eebb changed the behavior of
ARGUS_MONITOR_ID=`hostname``
Before this commit the optarg passed to ArgusParseSourceID was the hostname without double-quotes and would be converted to the hosts resolved ip-adress. Since this commit changes optarg to instead contain the hostname with double-quotes, ArgusParseSourceID will parse it as a quoted string and truncate it to the first 4 characters of the hostname which in many situations is quite worthless.
Especially if you have monitors running on sensor1.example.com, sensor2.example.com, ...

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