naemon-core
naemon-core copied to clipboard
/usr/bin/naemon -v should exit with non-zero result code on warnings
Hi,
$ /usr/bin/naemon -v /opt/monitor/etc/naemon.cfg
...
Warning: Duplicate definition found for service 'gen000008816_disk_foobar' on host 'srv000001727_eul3300530_bitbucket' (config file '/opt/monitor/etc/oconf/services.cfg', starting on line 683)
...
$ echo $?
0
Would it be possible to make warnings failures? At least optionally?
Cheers,
Álex