This repository was archived by the owner on Nov 18, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +48
-1
lines changed
Expand file tree Collapse file tree 3 files changed +48
-1
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ It will allow to change default configuration value in command line. Command lin
1515{{< highlight toml >}}
1616# general
1717debug = false
18+ debug_file=""
1819timezone = "Europe/Paris"
1920
2021# influxdb
Original file line number Diff line number Diff line change 1+ ---
2+ date : 2017-01-16T15:44:17+01:00
3+ title : 2.1.2_version_released
4+ type : " news"
5+ url : " /212_version_released"
6+ ---
7+
8+ # pull requests
9+
10+ * PR #1 Dashboard.go changed to also processed .gz files from @eirikrvw .
11+
12+ It allows to generate Grafana dashboards from gzipped nmon files like standard nmon files.
13+
14+ # enhancements
15+
16+ * issue #35 Added support for configuration file in /etc/nmon2influxdb:
17+
18+ ** nmon2influxdb** will first check if the configuration file ** /etc/nmon2influxdb/nmon2influxdb.cfg** exists before checking in user's home directory.
19+
20+ * issue #38 improved debugging:
21+
22+ * Log messages use the golang log package now.
23+ * Added timestamps.
24+ * Removed duplicate messages for skipped metrics in nmon import.
25+
26+ New option ** debug-file** redirect output to text file:
27+
28+ `````
29+ nmon2influxdb --debug-file="debugfile" hmc import
30+ `````
31+
32+ No need to specify the ** debug** option when ** debug-file** is specified.
33+
34+ Configuration parameters are displayed ** sanitized** in the debug output. Users and passwords are replaced by "secretuser" and "secret":
35+
36+ ````
37+ 2017/01/16 14:52:57 configuration: {Debug:true DebugFile:test2 Timezone:Europe/Paris InfluxdbUser:secretuser InfluxdbPassword:secret InfluxdbServer:192.168.56.101 InfluxdbPort:8086 InfluxdbDatabase:nmon_reports GrafanaUser:secretuser GrafanaPassword:secret GrafanaURL: GrafanaAccess: GrafanaDatasource: HMCServer:hmc1 HMCUser:secretuser HMCPassword:secret HMCDatabase:nmon2influxdbHMC HMCDataRetention:40d HMCManagedSystem:mysystem HMCManagedSystemOnly:false HMCSamples:10 ImportSkipDisks:false ImportAllCpus:false ImportBuildDashboard:false ImportForce:false ImportSkipMetrics: ImportLogDatabase: ImportLogRetention: ImportDataRetention: ImportSSHUser:adejoux ImportSSHKey:/Users/adejoux/.ssh/id_rsa DashboardWriteFile:false StatsLimit:0 StatsSort:mean StatsFilter: StatsFrom: StatsTo: StatsHost: Metric: ListFilter: ListHost: Inputs:[{Measurement:CPU_ALL Name:host Match:itmup Tags:[{Name:BUSINESSCLASS Value:GOLD Regexp:<nil>} {Name:HOSTTYPE Value:PHYSICAL Regexp:<nil>} {Name:OSTYPE Value:AIX Regexp:<nil>} {Name:REGION Value:NA Regexp:<nil>}]}]}
38+ ````
39+
40+ # bug fixes
41+
42+ * issue #33 fixed chart issue DISKBUSY chart was displaying DISKRIO stats in generated AIX dashboard
43+
44+ * issue #39 unable to generate default configuration file since tagging addition
45+
46+ * issue #40 fixed nmon2influxdb crash when the HMC couldn't get system metrics from managed system
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ func main() {
6767 app := cli .NewApp ()
6868 app .Name = "nmon2influxdb"
6969 app .Usage = "upload NMON stats to InfluxDB database"
70- app .Version = "2.1.1 "
70+ app .Version = "2.1.2 "
7171 app .Commands = []cli.Command {
7272 {
7373 Name : "import" ,
You can’t perform that action at this time.
0 commit comments