Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hostgroup as a prefix (or a custom tag) #112

Open
unixengineer opened this issue Apr 5, 2016 · 0 comments
Open

hostgroup as a prefix (or a custom tag) #112

unixengineer opened this issue Apr 5, 2016 · 0 comments

Comments

@unixengineer
Copy link

I am using OMD (Check_mk) with graphios, and able to send the metrics to carbon/graphite.

I am also trying to use grafana for graphing the metrics, and I feel it would help if the metrics have a hostgroup in the name so I can easily fetch them (say .. webservers*).

I am using this in pnp4nagios.cfg file:
service_perfdata_file_template=DATATYPE::SERVICEPERFDATA\tTIMET::$TIMET$\tHOSTNAME::$HOSTNAME$\tSERVICEDESC::$SERVICEDESC$\tSERVICEPERFDATA::$SERVICEPERFDATA$\tSERVICECHECKCOMMAND::$SERVICECHECKCOMMAND$\tHOSTSTATE::$HOSTSTATE$\tHOSTSTATETYPE::$HOSTSTATETYPE$\tSERVICESTATE::$SERVICESTATE$\tSERVICESTATETYPE::$SERVICESTATETYPE$\tGRAPHITEPREFIX::$_SERVICEGRAPHITEPREFIX$\tGRAPHITEPOSTFIX::$_SERVICEGRAPHITEPOSTFIX$

graphite tree looks like: mycompany-->myorg-->omd-->10_8_18_2->CPULoad->Load1

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

No branches or pull requests

1 participant