-
Notifications
You must be signed in to change notification settings - Fork 13
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
Add InfluxDB support #37
Comments
Hello, You should be able to use the plugin with InfluxDB. There is a second way of handling performance data: using the --perfdatadir option will create spool perfdata files which can be processed by a graphing solution such as pnp or nagiosgrapher. This second method is nice as the performance data are not processed by icinga2, are not limited by icinga2 variable lengths, and are not shown in icingaweb2 (for big switches it generates a lot of performance data). BR, |
Hi, Checking the script parameters i found this:
If I set grapher to influxdb instead of pnp4nagios what should I set for grapheurl? |
Sorry, I missed your comment. InfluxDB is not available as a supported graphing solution. You can use the default (pnp4nagios) settings, and redefine the generated url, but it would be easier to add the influxdb option in fact. To do that, could you tell me what would be the url to generate in order to access the graph of the service? |
If I remember well "Actions" objects are dependent to some script options. |
Hi again,
The thing is that 'hostdisplay' is showing the ip instead of the hostname. I tried with host/hostquery/hostname but it doesn't work. What's the variable for the node name? |
Nevermind, I was using the IP for the script -H argument. Changed it to hostname and it works. Now I just have to build the right Grafana URL, but that's out of this topic scope. Thanks for your help and I hope soon there will be influxdb writer compatibility. |
Hi bungi Many thanks in advance and kind regards |
For your info, you can use the IP for the -H parameter. In such a case you can specify the hostdisplay parameter through the -h option |
Hi @mdicss I couldn't fix the node dropdown neither. I'm still working on the Grafana URL, the thing is that I don't know how to parse the metric field to icinga2-default dashboard. The thing is that for each port there are 6 metrics. Example, for port FC port 0/0: Now, when I click on the Actions icon of port FC port 0/0 I should be redirected to Grafana and show all the graphs where the metrics starts with If_FC_port_0/0* and I don't know how to do that.. |
Hi |
Hi |
is missing above too. So you can reference the form and use $("#nodeselect").submit() |
You can edit the index.php file and create a Pull Request through github directly. If valid I will merge it. |
Is there already an implemented version of the Influx Integration? |
Hi,
We are using Icinga2 with InfluxDB as data store engine. Is there any way to use the plugin with InfluxDB?
Thanks
The text was updated successfully, but these errors were encountered: