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

No data points even performance_data shows data #169

Closed
bunghi opened this issue Jul 5, 2018 · 2 comments
Closed

No data points even performance_data shows data #169

bunghi opened this issue Jul 5, 2018 · 2 comments

Comments

@bunghi
Copy link

bunghi commented Jul 5, 2018

I'm not sure is related to grafana, please tell me where to open the issue if wrong place.

Expected Behavior

Show data points in the graph for commands that return perf data.

Current Behavior

No data points is shown but when I inscepct the command there is performance_data:

image

It can be because the "msec" label after the value?

Possible Solution

Steps to Reproduce (for bugs)

Context

Your Environment

  • Icinga Web 2 Grafana version (System - About): 2.5.3

  • Icinga Web 2 version and modules (System - About):
    image

  • Version used (icinga2 --version):

icinga2 - The Icinga 2 network monitoring daemon (version: r2.8.4-1)

Copyright (c) 2012-2017 Icinga Development Team (https://www.icinga.com/)
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl2.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Application information:
  Installation root: /usr
  Sysconf directory: /etc
  Run directory: /run
  Local state directory: /var
  Package data directory: /usr/share/icinga2
  State path: /var/lib/icinga2/icinga2.state
  Modified attributes path: /var/lib/icinga2/modified-attributes.conf
  Objects path: /var/cache/icinga2/icinga2.debug
  Vars path: /var/cache/icinga2/icinga2.vars
  PID path: /run/icinga2/icinga2.pid

System information:
  Platform: Debian GNU/Linux
  Platform version: 9 (stretch)
  Kernel: Linux
  Kernel version: 4.9.0-6-amd64
  Architecture: x86_64

Build information:
  Compiler: GNU 6.3.0
  Build host: f7d481dc25b9
  • Operating System and version:

  • Enabled features (icinga2 feature list):
    Disabled features: compatlog debuglog elasticsearch gelf graphite icingastatus opentsdb perfdata statusdata syslog
    Enabled features: api checker command ido-mysql influxdb livestatus mainlog notification

  • Config validation (icinga2 daemon -C):

information/cli: Icinga application loader (version: r2.8.4-1)
information/cli: Loading configuration file(s).
information/ConfigItem: Committing config item(s).
warning/ApiListener: Attribute 'key_path' for object 'api' of type 'ApiListener' is deprecated and should not be used.
warning/ApiListener: Attribute 'ca_path' for object 'api' of type 'ApiListener' is deprecated and should not be used.
warning/ApiListener: Attribute 'cert_path' for object 'api' of type 'ApiListener' is deprecated and should not be used.
warning/ApiListener: Please read the upgrading documentation for v2.8: https://www.icinga.com/docs/icinga2/latest/doc/16-upgrading-icinga-2/
information/ApiListener: My API identity: mqde01icinga2cl01.marquardt.de
information/WorkQueue: #4 (DaemonUtility::LoadConfigFiles) items: 13856, rate: 424.583/s (25475/min 25475/5min 25475/15min);
information/WorkQueue: #5 (ApiListener, RelayQueue) items: 0, rate:  0/s (0/min 0/5min 0/15min);
information/WorkQueue: #6 (ApiListener, SyncQueue) items: 0, rate:  0/s (0/min 0/5min 0/15min);
information/WorkQueue: #7 (IdoMysqlConnection, ido-mysql) items: 0, rate:  0/s (0/min 0/5min 0/15min);
information/WorkQueue: #8 (InfluxdbWriter, influxdb) items: 0, rate:  0/s (0/min 0/5min 0/15min);
information/WorkQueue: #4 (DaemonUtility::LoadConfigFiles) items: 5472, rate: 2169.87/s (130192/min 130192/5min 130192/15min);
warning/ApplyRule: Apply rule 'satellite-host' (in /etc/icinga2/zones.d/global/satellite.conf: 29:1-29:41) for type 'Dependency' does not match anywhere!
warning/ApplyRule: Apply rule 'UC_TN01_Host_Notification' (in /var/lib/icinga2/api/packages/director/mqde01icinga2cl01-1530781022-0/zones.d/master/notification_apply.conf: 208:1-208:54) for type 'Notification' does not match anywhere!
warning/ApplyRule: Apply rule 'UC_TN01_Service_Notification' (in /var/lib/icinga2/api/packages/director/mqde01icinga2cl01-1530781022-0/zones.d/master/notification_apply.conf: 217:1-217:60) for type 'Notification' does not match anywhere!
warning/ApplyRule: Apply rule 'Issue Tracking Jira_Service_Notification' (in /var/lib/icinga2/api/packages/director/mqde01icinga2cl01-1530781022-0/zones.d/master/notification_apply.conf: 487:1-487:72) for type 'Notification' does not match anywhere!
warning/ApplyRule: Apply rule 'ping6' (in /etc/icinga2/zones.d/global/services.conf: 34:1-34:21) for type 'Service' does not match anywhere!
warning/ApplyRule: Apply rule 'test' (in /var/lib/icinga2/api/packages/director/mqde01icinga2cl01-1530781022-0/zones.d/director-global/service_apply.conf: 305:1-305:20) for type 'Service' does not match anywhere!
warning/ApplyRule: Apply rule 'ORA_redo-io-traffic_secon_SID' (in /var/lib/icinga2/api/packages/director/mqde01icinga2cl01-1530781022-0/zones.d/director-global/service_apply.conf: 433:1-433:45) for type 'Service' does not match anywhere!
warning/ApplyRule: Apply rule 'generic-service-15m-24x7' (in /var/lib/icinga2/api/packages/director/mqde01icinga2cl01-1530781022-0/zones.d/director-global/service_apply.conf: 1482:1-1482:40) for type 'Service' does not match anywhere!
warning/ApplyRule: Apply rule 'TSM_VEBACKUP_TSMVE_MQCH01' (in /var/lib/icinga2/api/packages/director/mqde01icinga2cl01-1530781022-0/zones.d/director-global/service_apply.conf: 2032:1-2032:41) for type 'Service' does not match anywhere!
warning/ApplyRule: Apply rule 'WIN_Disk_Space_X' (in /var/lib/icinga2/api/packages/director/mqde01icinga2cl01-1530781022-0/zones.d/director-global/service_apply.conf: 2112:1-2112:32) for type 'Service' does not match anywhere!
warning/ApplyRule: Apply rule 'OPEN_IF_CH01' (in /var/lib/icinga2/api/packages/director/mqde01icinga2cl01-1530781022-0/zones.d/director-global/service_apply.conf: 3626:1-3626:28) for type 'Service' does not match anywhere!
warning/ApplyRule: Apply rule 'SAP_Interface_VTL_Emergency_Control' (in /var/lib/icinga2/api/packages/director/mqde01icinga2cl01-1530781022-0/zones.d/director-global/service_apply.conf: 5273:1-5273:51) for type 'Service' does not match anywhere!
warning/ApplyRule: Apply rule 'Storwize_VDisk_Mirror_Status' (in /var/lib/icinga2/api/packages/director/mqde01icinga2cl01-1530781022-0/zones.d/director-global/service_apply.conf: 6704:1-6704:44) for type 'Service' does not match anywhere!
information/ConfigItem: Instantiated 1 ApiListener.
information/ConfigItem: Instantiated 14 Zones.
information/ConfigItem: Instantiated 14 Endpoints.
information/ConfigItem: Instantiated 1 FileLogger.
information/ConfigItem: Instantiated 5 ApiUsers.
information/ConfigItem: Instantiated 38375 Notifications.
information/ConfigItem: Instantiated 5 NotificationCommands.
information/ConfigItem: Instantiated 272 CheckCommands.
information/ConfigItem: Instantiated 73 Downtimes.
information/ConfigItem: Instantiated 228 HostGroups.
information/ConfigItem: Instantiated 1 IcingaApplication.
information/ConfigItem: Instantiated 1811 Hosts.
information/ConfigItem: Instantiated 202 Comments.
information/ConfigItem: Instantiated 42 UserGroups.
information/ConfigItem: Instantiated 120 Users.
information/ConfigItem: Instantiated 3 TimePeriods.
information/ConfigItem: Instantiated 32111 Services.
information/ConfigItem: Instantiated 24 ServiceGroups.
information/ConfigItem: Instantiated 1 CheckerComponent.
information/ConfigItem: Instantiated 1 IdoMysqlConnection.
information/ConfigItem: Instantiated 1 InfluxdbWriter.
information/ConfigItem: Instantiated 1 LivestatusListener.
information/ConfigItem: Instantiated 1 NotificationComponent.
information/ConfigItem: Instantiated 1 ExternalCommandListener.
information/ScriptGlobal: Dumping variables to file '/var/cache/icinga2/icinga2.vars'
information/cli: Finished validating the configuration file(s).

@Mikesch-mp
Copy link
Owner

Hello,

msec is not a valid unit of measurement see Development Guidelines for Plugins. Check your icinga logfiles. You could also check your influx if data is written with select * from <COMMAND> limit 2

Regards,
Carsten

@bunghi
Copy link
Author

bunghi commented Aug 21, 2018

Thanks!

I found this as a workaround: NETWAYS/check_sap#1

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

2 participants