Good morning.

On Sun Apr 09, 2017 at 20:50:37PM -0400, Matthew Herzog wrote:
> I'm trying to use snmp-memory (check_snmp_mem.pl) with snmp version 3. I
> have only one zone, "nplz."
> I have a couple of servers whose memory consumption needs to be monitored.
> 
> I have a file conf.d/templates/nplz-snmp-mem.conf that contains:
> 
> object CheckCommand "snmp-memory" {
[...]

> But when I run 'icinga2 daemon -C' . . . . .
> 
> critical/config: Error: Object 'snmp-memory' of type 'CheckCommand'
> re-defined: in /etc/icinga2/conf.d/templates/nplz-snmp-mem.conf: 1:0-1:32;
A CheckCommand object with this name "snmp-memory" is already defined
in:

> previous definition: in /usr/share/icinga2/include/
> command-plugins-manubulon.conf: 103:1-103:33
This location.

To resolve this issue you have to change the name of your
CheckCommand object (e.g. to "nplz-snmp-memory").

So long,

Andreas.

-- 
"Things that try to look like things often do
 look more like things than things. Well-known fact."
Granny Weatherwax - "Wyrd sisters"
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to