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 graph no dashboard with oxalide and influx #99

Open
sykss opened this issue Jul 26, 2019 · 0 comments
Open

No graph no dashboard with oxalide and influx #99

sykss opened this issue Jul 26, 2019 · 0 comments

Comments

@sykss
Copy link

sykss commented Jul 26, 2019

Hi,
In the first time I try to configure telegraf and vmware vsphere overview but my graph still empty after severals hours of work so i try oxalide but..
I try to set a vsphere monitoring but my dashboard on grafana "vpshere cloud overview" still empty,
here is my json config :

GNU nano 2.5.3                                              File: /etc/vsphere-influxdb-go.json

{
  "Domain": ".vcenter",
  "Interval": 60,
  "VCenters": [
    { "Username": "admin", "Password": "******", "Hostname": "pcc.ovh.com" }
  ],

  "InfluxDB": {
    "Prefix": "",
    "Hostname": "http://influxdb:8086",
    "Username": "oxalide",
    "Password": "******",
    "Database": "oxalide_db"
  },

  "Metrics": [
    {
      "ObjectType": [ "VirtualMachine", "HostSystem" ],
      "Definition": [
        { "Metric": "cpu.usage.average", "Instances": "*" },
        { "Metric": "cpu.usage.maximum", "Instances": "*" },
        { "Metric": "cpu.usagemhz.average", "Instances": "*" },
        { "Metric": "cpu.usagemhz.maximum", "Instances": "*" },
        { "Metric": "cpu.wait.summation", "Instances": "*" },
        { "Metric": "cpu.system.summation", "Instances": "*" },
        { "Metric": "cpu.ready.summation", "Instances": "*" },
        { "Metric": "mem.usage.average", "Instances": "*" },
        { "Metric": "mem.usage.maximum", "Instances": "*" },
        { "Metric": "mem.consumed.average", "Instances": "*" },
        { "Metric": "mem.consumed.maximum", "Instances": "*" },
        { "Metric": "mem.active.average", "Instances": "*" },
        { "Metric": "mem.active.maximum", "Instances": "*" },
        { "Metric": "mem.vmmemctl.average", "Instances": "*" },
        { "Metric": "mem.vmmemctl.maximum", "Instances": "*" },
        { "Metric": "mem.totalCapacity.average", "Instances": "*" },
        { "Metric": "net.packetsRx.summation", "Instances": "*" },
        { "Metric": "net.packetsTx.summation", "Instances": "*" },
        { "Metric": "net.throughput.usage.average", "Instances": "*" },
        { "Metric": "net.received.average", "Instances": "*" },
        { "Metric": "net.transmitted.average", "Instances": "*" },
        { "Metric": "net.throughput.usage.nfs.average", "Instances": "*" },
        { "Metric": "datastore.numberReadAveraged.average", "Instances": "*" },
        { "Metric": "datastore.numberWriteAveraged.average", "Instances": "*" },
        { "Metric": "datastore.read.average", "Instances": "*" },
        { "Metric": "datastore.write.average", "Instances": "*" },
        { "Metric": "datastore.totalReadLatency.average", "Instances": "*" },
        { "Metric": "datastore.totalWriteLatency.average", "Instances": "*" },
        { "Metric": "mem.capacity.provisioned.average", "Instances": "*"},
        { "Metric": "cpu.corecount.provisioned.average", "Instances": "*" }
      ]
    },

i give you the vsphere-influxdb-go --debug too
debug_oxalide.txt

and here is the content of my db when i use SHOW MEASUREMENTS :

Connected to http://localhost:8086 version 1.7.2
InfluxDB shell version: 1.7.2
Enter an InfluxQL query
> use oxalide_db
Using database oxalide_db
> SHOW MEASUREMENTS
name: measurements
name
----
vsphere_cpu
vsphere_datastore
vsphere_disk
vsphere_hostsystem
vsphere_net
vsphere_resourcepool
vsphere_virtualmachine
>

Told me i u need more informations and thank's you for your help..

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