zabbix
zabbix copied to clipboard
to fix issue #29
mongo command by default will try to access ~/.dbshell to write history of commands. since mongo command does not have any flag to disable history logging, we can add add 2>/dev/null to jq to ignore error while trying to write in .dbshell history file and echo correct output to zabbix server.