Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dev.icinga.com #12800] All arguments are not visible in field section for memory command #464

Closed
icinga-migration opened this issue Sep 26, 2016 · 2 comments
Labels

Comments

@icinga-migration
Copy link

This issue has been migrated from Redmine: https://dev.icinga.com/issues/12800

Created by aavinashjha on 2016-09-26 12:19:13 +00:00

Assignee: (none)
Status: Closed (closed on 2017-01-10 16:04:28 +00:00)
Target Version: (none)
Last Update: 2017-01-10 16:04:28 +00:00 (in Redmine)


Check Memory requires following arguments:
check_mem.pl -<f|u> -w -c

This is the preview of command:

object CheckCommand "mem" {
import "plugin-check-command"
command = [ PluginDir + "/check_mem.pl" ]
timeout = 1m
arguments = {
"-C" = {
description = "Count OS caches as FREE memory"
set_if = "$mem_cache$"
}
"-c" = {
description = "Percent free/used when critical"
value = "$mem_critical$"
}
"-f" = {
description = "Check FREE memory"
set_if = "$mem_free$"
}
"-u" = {
description = "Check USED memory"
set_if = "$mem_used$"
}
"-w" = {
description = "Percent free/used when to warn"
value = "$mem_warning$"
}
}
vars.mem_cache = false
vars.mem_free = false
vars.mem_used = false
}

But the suggested fields donot provide free/used option. Only warning and critical are available. Is there a way to add custom fields.
Please find screenshot of director UI.

Attachments

@icinga-migration
Copy link
Author

Updated by aavinashjha on 2016-09-27 05:24:20 +00:00

Not an issue. Did not knew about custom fields in the director where we can add any number of fields.

@icinga-migration
Copy link
Author

Updated by tgelf on 2017-01-10 16:04:28 +00:00

  • Status changed from New to Closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant