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

token.pp sed issue #12

@yasin-amadmia-mck

Description

@yasin-amadmia-mck

Hi,

within token.pp had to change

command => "raxmon-agent-tokens-list | grep ${::fqdn} | sed -n 's/.id=([0-9a-f].[0-9])./\1/p' > ${agent_token_filename}",

to

command => "raxmon-agent-tokens-list | grep ${::fqdn} | sed -n 's/.id=([0-9a-f].[0-9])./\1/p' > ${agent_token_filename}",

And change,

command => "raxmon-entities-list | grep ${::fqdn} | sed -n 's/.id=([a-zA-Z0-9]) .*/\1/p' > ${agent_id_filename}",

to

command => "raxmon-entities-list | grep ${::fqdn} | sed -n 's/.id=([a-zA-Z0-9]) .*/\1/p' > ${agent_id_filename}",

OS: RedHat 6

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