Dear List,

got some strange behavior with the check definition for a Windows Counter in 
check_nt.

The Counter should be checked with:

check_nt -H xxx.xxx.xxx.xxx -p 12489 -s pass -v COUNTER -l 
"\\BranchCache\\Retrieval: Bytes served","%.f Bytes"

running this from the commandline is no problem.


Then in the checkdefinition:

critical/config: Error: Value computed is not used.
Location:
/etc/icinga2/zones.d/templates/service_templates.conf(329):
/etc/icinga2/zones.d/templates/service_templates.conf(330):   
vars.nt_check_variable = "COUNTER"
/etc/icinga2/zones.d/templates/service_templates.conf(331):   vars.nt_counter = 
"\\BranchCache\\Retrieval: Bytes served","%.f Bytes"
                                                                                
                                                                                
                                                                                
          ^^^^^^^^^^


Is this a normal behavior? Problem is, without the "%.f Bytes" it is processed 
but I have no perfdata.


Bye, Rico




_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to