On 12 May 2010, at 09:43, Raffaello Poltronieri - Eutelia SpA wrote:

Hello,
I'm going to monitor the free memory left on a device using the syntax:

check_snmp -H <IP> -C <community> -o <OID> -w 2000:1000 -c 999:0

the output to this check results:
"Range format incorrect"

The format is actually @1000:2000 for what you want to do (alert on a range inside). See http://nagiosplug.sourceforge.net/developer-guidelines.html#THRESHOLDFORMAT for the actual syntax.

Documentatione says "max:min arises a warning/critical whe result of check is inside the range" So, the format max:min is admitted, not onnly min:max... Am I missing something?

I'm guessing you were looking at http://nagiosplugins.org/man/ check_snmp. I've only just realised that these pages were not being updated correctly. This is now fixed, so it will update nightly with the help information from the latest code.

The Show Plugin Help in the Service Checks edit page should always show what the current help is for check_snmp based on the plugin you have.

Ton

_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-users

Reply via email to