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

token.pp sed issue #12

Open
yasin-amadmia-mck opened this issue Aug 14, 2014 · 0 comments
Open

token.pp sed issue #12

yasin-amadmia-mck opened this issue Aug 14, 2014 · 0 comments

Comments

@yasin-amadmia-mck
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant