Hi all,
I have configured low level discovery for specific Linux directories in order to calculate their sizes, but I'm forced to use zabbix_sender, as the built in key "vfs.dir.size" takes a lot of time to calculate and eventually times out.
So, it is working correctly for keys, not containing :space: characters (refer to the attached screenshots):
$ cat test2.out
Jenkins jenkins_jobs_lev1["/data/jenkins/jobs/VIEW/jobs/Emplacement-Viewer-Testserver"] 10929
$ zabbix_sender -v -z zsrvr.local -i test2.out
Response from "zsrvr.local:10051": "processed: 1; failed: 0; total: 1; seconds spent: 0.000064"
sent: 1; skipped: 0; total: 1
But it is failing for a similar key, which contains 1 or more space characters (refer to the attached screenshots):
$ cat test3.out
Jenkins jenkins_jobs_lev1["/data/jenkins/jobs/VIEW/jobs/Versioning Test"] 2037866
$ zabbix_sender -v -z zsrvr.local -i test3.out
Response from "zsrvr.local:10051": "processed: 0; failed: 1; total: 1; seconds spent: 0.000019"
sent: 1; skipped: 0; total: 1
Versions:
zabbix_server: 5.4.7
zabbix_sender: 5.4.7
I have read the zabbix_sender man page and it says:
Contents of the input file must be in the UTF-8 encoding. Entries must be formatted using the following rules:
...
· Quoted and non-quoted entries are supported.
· Double-quote is the quoting character.
· Entries with whitespace must be quoted.
...
Any suggestions are welcome.
Thank you!
I have configured low level discovery for specific Linux directories in order to calculate their sizes, but I'm forced to use zabbix_sender, as the built in key "vfs.dir.size" takes a lot of time to calculate and eventually times out.
So, it is working correctly for keys, not containing :space: characters (refer to the attached screenshots):
$ cat test2.out
Jenkins jenkins_jobs_lev1["/data/jenkins/jobs/VIEW/jobs/Emplacement-Viewer-Testserver"] 10929
$ zabbix_sender -v -z zsrvr.local -i test2.out
Response from "zsrvr.local:10051": "processed: 1; failed: 0; total: 1; seconds spent: 0.000064"
sent: 1; skipped: 0; total: 1
But it is failing for a similar key, which contains 1 or more space characters (refer to the attached screenshots):
$ cat test3.out
Jenkins jenkins_jobs_lev1["/data/jenkins/jobs/VIEW/jobs/Versioning Test"] 2037866
$ zabbix_sender -v -z zsrvr.local -i test3.out
Response from "zsrvr.local:10051": "processed: 0; failed: 1; total: 1; seconds spent: 0.000019"
sent: 1; skipped: 0; total: 1
Versions:
zabbix_server: 5.4.7
zabbix_sender: 5.4.7
I have read the zabbix_sender man page and it says:
Contents of the input file must be in the UTF-8 encoding. Entries must be formatted using the following rules:
...
· Quoted and non-quoted entries are supported.
· Double-quote is the quoting character.
· Entries with whitespace must be quoted.
...
Any suggestions are welcome.
Thank you!
Comment