Thomas Roehl
f4af520b2a
Fix error print in LustreCollector
2022-03-04 11:32:39 +01:00
Thomas Roehl
31f10b3163
Fix user creation type
2022-03-03 17:31:15 +01:00
Thomas Roehl
9ece27eec6
Use right systemd macro to create the user
2022-03-03 17:26:32 +01:00
Thomas Roehl
fdbdb79527
Merge branch 'develop' into main
2022-03-03 13:45:51 +01:00
Thomas Roehl
948c34d74d
Add user creation in RPM
2022-03-03 13:43:43 +01:00
Thomas Roehl
60de21c41e
Switch access mode of LikwidCollector in config file
2022-03-03 13:03:58 +01:00
Thomas Roehl
276c00442a
Add option to LustreCollector to call lctl with sudo
2022-03-03 13:02:00 +01:00
Thomas Roehl
c61b8d2877
Set name change in Makefile
2022-03-03 11:03:51 +01:00
Thomas Roehl
6023abd028
Rename main file to match with executable name
2022-03-03 11:02:37 +01:00
Thomas Roehl
0753c81156
Add/Remove clustercockpit user and group in RPM
2022-03-02 15:10:14 +01:00
Thomas Roehl
092e7f6a71
Add section how to temporarly disable LIKWID access to page
2022-03-02 13:54:43 +01:00
Thomas Roehl
f7e8b52667
Run RPM build actions only on tag push
2022-03-02 13:21:54 +01:00
Thomas Roehl
02baef8c71
Merge branch 'develop' into main
2022-03-02 10:38:17 +01:00
Thomas Roehl
d40163cf8f
Update README and receiver-specific pages
2022-02-28 17:26:28 +01:00
d98076c792
Merge current development version into main ( #48 )
...
* DiskstatCollector: cast part_max_used metric to int
* Add uint types to GangliaSink and LibgangliaSink
* Use new sink instances to allow multiple of same sink type
* Update sink README and SampleSink
* Use new receiver instances to allow multiple of same receiver type
* Fix metric scope in likwid configuration script
* Mention likwid config script in LikwidCollector README
* Refactor: Embed Init() into New() function
* Refactor: Embed Init() into New() function
* Fix: MetricReceiver uses uninitialized values, when initialization fails
* Use Ganglia configuration (#44 )
* Copy all metric configurations from original Ganglia code
* Use metric configurations from Ganglia for some metrics
* Format value string also for known metrics
* Numa-aware memstat collector (#45 )
* Add samples for collectors, sinks and receivers
* Ping InfluxDB server after connecting to recognize faulty connections
* Add sink for Prometheus monitoring system (#46 )
* Add sink for Prometheus monitoring system
* Add prometheus sink to README
* Add scraper for Prometheus clients (#47 )
Co-authored-by: Holger Obermaier <holgerob@gmx.de >
Co-authored-by: Holger Obermaier <40787752+ho-ob@users.noreply.github.com >
2022-02-25 14:49:49 +01:00
Thomas Gruber and GitHub
a203370aaa
Add scraper for Prometheus clients ( #47 )
2022-02-25 14:46:29 +01:00
Thomas Gruber and GitHub
f099a311a0
Add sink for Prometheus monitoring system ( #46 )
...
* Add sink for Prometheus monitoring system
* Add prometheus sink to README
2022-02-25 14:33:20 +01:00
Thomas Roehl
fe3a8d59b0
Ping InfluxDB server after connecting to recognize faulty connections
2022-02-25 13:51:52 +01:00
Thomas Roehl
bac1f18b1d
Add samples for collectors, sinks and receivers
2022-02-25 13:47:19 +01:00
Thomas Gruber and GitHub
c8bca59de4
Numa-aware memstat collector ( #45 )
2022-02-24 18:27:05 +01:00
Thomas Gruber and GitHub
16c03d2aa2
Use Ganglia configuration ( #44 )
...
* Copy all metric configurations from original Ganglia code
* Use metric configurations from Ganglia for some metrics
* Format value string also for known metrics
2022-02-24 18:22:20 +01:00
Thomas Roehl
d542f32baa
Mention likwid config script in LikwidCollector README
2022-02-22 17:46:44 +01:00
Thomas Roehl
6b6566b0aa
Fix metric scope in likwid configuration script
2022-02-22 17:46:17 +01:00
Thomas Roehl
3598aed090
Use new receiver instances to allow multiple of same receiver type
2022-02-22 16:33:38 +01:00
Thomas Roehl
24e12ccc57
Update sink README and SampleSink
2022-02-22 16:19:46 +01:00
Thomas Roehl
18a226183c
Use new sink instances to allow multiple of same sink type
2022-02-22 16:15:25 +01:00
Thomas Roehl
9cfbe10247
Add uint types to GangliaSink and LibgangliaSink
2022-02-22 15:51:08 +01:00
Thomas Roehl
66275ecf74
DiskstatCollector: cast part_max_used metric to int
2022-02-22 15:50:49 +01:00
Thomas Gruber and GitHub
b4cc6d54ea
Update README.md
2022-02-22 15:10:27 +01:00
Thomas Gruber and GitHub
45714fe337
Update README.md
2022-02-22 15:09:12 +01:00
Thomas Roehl
5742721cbd
Proper tag name in release
2022-02-21 18:58:13 +01:00
Thomas Roehl
888292dbef
Remove ganglia build tag documentation, not needed anymore
2022-02-21 18:53:03 +01:00
Thomas Roehl
1425463a26
Upload RPM not SRPM
2022-02-21 18:49:39 +01:00
Thomas Gruber and GitHub
5cd7ac2541
Update rpmbuild.yml
2022-02-21 18:28:07 +01:00
Thomas Gruber and GitHub
afa831aff8
Update rpmbuild.yml
2022-02-21 18:17:12 +01:00
Thomas Roehl
a1328b30e9
Remove CentOS8 from RPMBUILD action. End of Life
2022-02-21 17:16:07 +01:00
Thomas Roehl
842395682c
Remove -lganglia ldflag and check dl lib
2022-02-21 17:01:13 +01:00
Thomas Roehl
3ade75490c
Add RHEL UBI 8 to rpmbuild action
2022-02-21 15:09:42 +01:00
Thomas Roehl
eed9cd227c
Remove doubled import and remove merge artifacts
2022-02-21 14:50:11 +01:00
Thomas Roehl
24a2c9992f
Merge branch 'develop' into main
2022-02-21 14:32:24 +01:00
Thomas Gruber and GitHub
f683f2e6da
Dynamically load liblikwid ( #40 )
...
* Check whether LIKWID library is present
* Generalize nan_to_zero option to invalid_to_zero including +Inf,+Inf and NaN
* Remove double error printing and return if measurements do not work
2022-02-21 13:29:33 +01:00
Thomas Gruber and GitHub
ea5b3bdbd6
Use receiver names from config ( #34 )
...
* Use common configuration format of 'receiver_name' -> 'receiver_config'
* Adjust receiver configuration files
2022-02-21 12:45:08 +01:00
Thomas Gruber and GitHub
435528fa97
Split diskstat Collector ( #38 )
...
* Split diskstats (free, total space) and iostats (reads, writes, ...
* Add iostat Collector to CollectorManager
2022-02-21 12:44:26 +01:00
Thomas Roehl
d9a81501e5
Use common functions in both Ganglia sinks
2022-02-18 15:05:45 +01:00
Thomas Roehl
e2f78fe1c0
Add linker flag -Wl,--unresolved-symbols=ignore-in-object-files to build without library. Remove build tags
2022-02-18 11:41:15 +01:00
Thomas Roehl
4e8ee59211
Update NetstatCollector to derive bandwidths and use an include list
2022-02-18 02:25:23 +01:00
Thomas Gruber and GitHub
0152c0dc1e
Update CpustatCollector ( #36 )
...
* Update cpustat collector
* Update CpustatCollector to use percentages and add 'num_cpus' metric
2022-02-17 15:46:06 +01:00
Thomas Roehl
873befb41f
Add ganglia build tag to README
2022-02-17 15:06:55 +01:00
Thomas Roehl
7be6d2a338
Use only readable files when searching for libganglia.so
2022-02-16 23:23:07 +01:00
Thomas Roehl
e5585eaaa0
Add additional lines for build tags
2022-02-16 19:07:00 +01:00
Thomas Gruber and GitHub
e28c1fb30b
Ganglia sink using libganglia.so directly ( #35 )
...
* Add sink directly using libganglia.so
* Remove unneeded confuse header
* add submodule init to build action
* add submodule init to runonce action
* add installation og ganglia to runonce
* add installation of ganglia to runonce
* add installation of ganglia to runonce
* libconfuse not required
* Remove ganglia submodule
* Remove ganglia.h
* Add Makefile to help creating the libganglia.so link
* Fix cgo header
* Rename new Ganglia sink to 'libgangliaSink'
* Add documentation for libgangliaSink
* Extend make buildsystem with find&symlink helper for libgangliaSink
* Add metric renaming function
* Add build tag 'ganglia' and create corresponding files
2022-02-16 18:33:46 +01:00
Thomas Roehl
416a94aceb
Merge branch 'develop' of github.com:ClusterCockpit/cc-metric-collector into develop
2022-02-14 18:12:59 +01:00
Thomas Roehl
247fb23de1
Try to operate on multiple metrics if channels if filled
2022-02-14 18:12:50 +01:00
Thomas Gruber and GitHub
95a58c29e2
Set version in RPM spec file
2022-02-14 15:21:01 +01:00
Thomas Gruber and GitHub
56363a6636
Update cc-metric-collector.spec
2022-02-14 15:20:38 +01:00
Thomas Roehl
bd246bdacf
Fix group for netstat collector
2022-02-11 18:18:10 +01:00
Thomas Roehl
23d13b2ceb
Fix group for netstat collector
2022-02-11 18:09:39 +01:00
Thomas Roehl
dc1e4f28a0
Check for Ganglia group explicitly in tags and meta info
2022-02-11 16:10:59 +01:00
Thomas Roehl
b15fdf72b9
Exclude metrics and devices in Init() for NvidiaCollector
2022-02-11 14:20:06 +01:00
Thomas Roehl
184d60cc58
Locking in MetricCache
2022-02-10 15:21:26 +01:00
Thomas Gruber and GitHub
1ea63332d3
Update README.md
2022-02-08 13:49:48 +01:00
Thomas Gruber and GitHub
e1cf682989
Add other collectors to README
2022-02-08 13:22:20 +01:00
Thomas Gruber and GitHub
d1e66201a6
Add non-blocking InfluxDB sink ( #29 )
...
* Add non-blocking InfluxDB sink
* Add configurable batch size
2022-02-07 16:51:46 +01:00
Thomas Gruber and GitHub
5263a974d1
Split NfsCollector in Nfs3Collector and Nfs4Collector ( #28 )
...
* Split NfsCollector in Nfs3Collector and Nfs4Collector
* Add documentation
2022-02-07 15:43:01 +01:00
Thomas Roehl
bb87046501
Merge branch 'develop' of github.com:ClusterCockpit/cc-metric-collector into develop
2022-02-07 15:42:33 +01:00
Thomas Roehl
0bd638f211
Add script to help create configs for LikwidCollector
2022-02-07 15:42:25 +01:00
Thomas Roehl
b7ee125942
Merge branch 'develop' of github.com:ClusterCockpit/cc-metric-collector into develop
2022-02-07 13:47:06 +01:00
Thomas Roehl
52458ce5a1
Fix for LustreCollector. Check for root user
2022-02-07 13:27:35 +01:00
Thomas Roehl
c313055570
Merge branch 'develop' of github.com:ClusterCockpit/cc-metric-collector into develop
2022-02-07 13:22:34 +01:00
Thomas Roehl
25bb395f02
Fix for NumaDomain getter in ccTopology
2022-02-07 13:22:26 +01:00
Thomas Gruber and GitHub
fdb58b0be2
Sink specific configuration maps ( #25 )
...
* Use sink-specific configurations to have more flexibility. Adjust sample sink configuration files
* Add documentation
* Add links to individual sink readmes
* Fix link in README
* HTTPS for HttpSink
* If no CPU die id available, use the socket id instead
2022-02-04 18:12:24 +01:00
Thomas Roehl
66b9a25a88
Prefix metrics from NetstatCollector with 'net'
2022-02-04 12:39:59 +01:00
Thomas Roehl
02cd21abe2
HTTPS for HttpSink
2022-02-04 12:39:25 +01:00
Thomas Roehl
db02c89683
Update LustreCollector to use lctl. Sysfs version is commented out
2022-02-03 22:05:16 +01:00
Thomas Gruber and GitHub
92d4a9c2b9
Split MetricRouter and MetricAggregator ( #24 )
...
* Split MetricRouter and MetricAggregator
* Missing change in MetricCache
* Add README for MetricAggregator
2022-02-03 16:52:55 +01:00
Thomas Roehl
2806b1e7cc
Remove debugging artifacts
2022-02-02 17:14:29 +01:00
Thomas Roehl
e59852be03
Fix LikwidCollector, merge artifact causes problems
2022-02-02 16:55:15 +01:00
Thomas Roehl
6f399d5f08
Add scope guidelines in LikwidCollector page
2022-02-02 16:46:35 +01:00
Thomas Roehl
5bf538bf97
Update LikwidCollector page
2022-02-02 16:40:20 +01:00
Thomas Roehl
1222f7a32f
Configuration option to disable MetricCache completely
2022-02-02 15:30:14 +01:00
Thomas Roehl
2c13cecf13
Fix link in MetricRouter README
2022-02-02 14:52:19 +01:00
Thomas Roehl
ed62e952ce
Use MetricAggregator to calculate metrics in LIKWID collector.
2022-02-02 14:52:07 +01:00
Thomas Roehl
4633c8f58d
Merge branch 'likwid_collector_gval_and_fix' into develop
2022-02-01 18:35:03 +01:00
Thomas Roehl
af8654d325
Update MetricRouter README
2022-02-01 18:28:20 +01:00
Thomas Roehl
a4bd141786
Use the MetricAggregator for all calculations in the MetricRouter
2022-02-01 18:27:59 +01:00
Thomas Roehl
64a12b80bb
Add and export SetName() function for CCMetric
2022-02-01 18:27:16 +01:00
Thomas Roehl
8319d3de43
Add some more helper functions to ccTopology
2022-02-01 18:26:54 +01:00
Thomas Roehl
e550226416
Use gval in LikwidCollector
2022-02-01 16:01:31 +01:00
6ff6cb7219
Change CCMetric's internal data structure ( #22 )
...
* package ccmetric rewrite
* Create deep copy in New() to avoid access conflicts
* Renamed TagMap() -> Tags(), MetaMap() -> Meta
Co-authored-by: Holger Obermaier <40787752+ho-ob@users.noreply.github.com >
2022-02-01 14:54:34 +01:00
Thomas Gruber and GitHub
862630a218
Extend workflow to test Go 1.16 and 1.17
2022-01-31 14:42:19 +01:00
Thomas Gruber and GitHub
1f55aa247f
Run rpmbuild workflow only for new tags
2022-01-31 13:29:14 +01:00
Thomas Roehl
3e329c3324
Move defer after checking error
2022-01-30 22:05:27 +01:00
Thomas Roehl
011218ab80
Adjust ganglia sink to CCMetric
2022-01-30 15:25:57 +01:00
Thomas Gruber and GitHub
d915bcc02d
Add sink to add metrics to Ganglia through gmetric ( #15 )
2022-01-30 15:21:24 +01:00
Thomas Roehl
df31df149b
Fix for missing math.MaxInt in go 1.16
2022-01-30 15:16:46 +01:00
Thomas Roehl
70ebd2f36d
Add gval to go files
2022-01-30 15:13:12 +01:00
Thomas Roehl
18c5d0eb34
Add example interval aggregation to MetricRouter config for CI
2022-01-30 15:04:31 +01:00
Thomas Gruber and GitHub
cf810b1c0c
Add Cache and Aggregator to MetricRouter ( #21 )
...
* Add Cache and Aggregator to MetricRouter
* Close done channel in MetricCache
2022-01-30 15:03:21 +01:00
Thomas Gruber and GitHub
11844d9d5d
Add common topology module for MetricCollectors and MetricRouter ( #20 )
2022-01-30 14:59:26 +01:00
Thomas Gruber and GitHub
6abbc5f77e
Fix Github Actions ( #18 )
...
* Fix config for Github Actions
* Fix paths
* Add CentOS Latest and AlmaLinux 8.5 to RPM action
* Fix ID
* Reduce min Go version to 1.16 and use time.Unix in gpfsMetric
2022-01-30 14:54:36 +01:00