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

Labeling Extra Tags on Nagios captured metrics using Graphios. #126

Open
madhuioe opened this issue Oct 18, 2016 · 0 comments
Open

Labeling Extra Tags on Nagios captured metrics using Graphios. #126

madhuioe opened this issue Oct 18, 2016 · 0 comments

Comments

@madhuioe
Copy link

Hello Shawn,
The question is related to tagging on Nagios captured metrics using Graphios.

  1. First of all, I tried adding additional tags on nagios captured metrics using graphios. I made following changes on extra_tags section of graphios.cfg:
    For Example: influxdb_extra_tags= {"LOCATION": "NA"}
    influxdb_extra_tags= {"OSTYPE": "LINUX"}
    However, I was unable to add more than two tags using this configuration of graphios.
  2. Second, Even I added the above two tags, I was unable to bind those tags to to particular hosts. There are number of tags that should attach with respective hosts.
  3. I also edited host_perfdata_file_template on nagios.cfg and appended following lines \tREGION::$_REGION$\tBUSINESSCLASS::$_BUSINESSCLASS$\tHOSTTYPE::$_HOSTTYPE$ to achieve appropriate tags. Accordingly, I assigned the values to above listed tag variables i.e. _BUSINESSCLASS = "Gold" on particular host's templates using Nagios GUI.

How can I put tags effectively and bind those tags with particular hosts and accordingly I can query effectively through grafana to Influxdb backend?

@madhuioe madhuioe changed the title Extra Tags on graphios.cfg Labeling Extra Tags on Nagios captured metrics using Graphios. Oct 18, 2016
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