mirror of
				https://github.com/ClusterCockpit/cc-metric-collector.git
				synced 2025-11-04 02:35:07 +01:00 
			
		
		
		
	Moved documentation to markdown file
This commit is contained in:
		@@ -3,17 +3,21 @@
 | 
			
		||||
 | 
			
		||||
```json
 | 
			
		||||
  "ibstat": {
 | 
			
		||||
    "perfquery_path" : "<path to perfquery command>",
 | 
			
		||||
    "exclude_devices": [
 | 
			
		||||
      "mlx4"
 | 
			
		||||
    ]
 | 
			
		||||
  }
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
The `ibstat` collector reads either data through the `perfquery` command or the sysfs files below `/sys/class/infiniband/<device>`.
 | 
			
		||||
The `ibstat` includes all devices that can be found below `/sys/class/infiniband/`
 | 
			
		||||
and where any of the ports provides a `lid` file (`/sys/class/infiniband/<dev>/ports/<port>/lid`)
 | 
			
		||||
The devices can be filtered with the `exclude_devices` option in the configuration.
 | 
			
		||||
The collector reads data through the sysfs files below `/sys/class/infiniband/<device>`.
 | 
			
		||||
 | 
			
		||||
Metrics:
 | 
			
		||||
* `ib_recv`
 | 
			
		||||
* `ib_xmit`
 | 
			
		||||
* `ib_recv_pkts`
 | 
			
		||||
* `ib_xmit_pkts`
 | 
			
		||||
 | 
			
		||||
The collector adds a `device` tag to all metrics
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user