{"action":"created","issue":{"url":"https://api.github.com/repos/mickem/nscp/issues/183","labels_url":"https://api.github.com/repos/mickem/nscp/issues/183/labels{/name}","comments_url":"https://api.github.com/repos/mickem/nscp/issues/183/comments","events_url":"https://api.github.com/repos/mickem/nscp/issues/183/events","html_url":"https://github.com/mickem/nscp/issues/183","id":111630223,"number":183,"title":"detail-syntax should include the threshold","user":{"login":"gitmopp","id":5023900,"avatar_url":"https://avatars.githubusercontent.com/u/5023900?v=3","gravatar_id":"","url":"https://api.github.com/users/gitmopp","html_url":"https://github.com/gitmopp","followers_url":"https://api.github.com/users/gitmopp/followers","following_url":"https://api.github.com/users/gitmopp/following{/other_user}","gists_url":"https://api.github.com/users/gitmopp/gists{/gist_id}","starred_url":"https://api.github.com/users/gitmopp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gitmopp/subscriptions","organizations_url":"https://api.github.com/users/gitmopp/orgs","repos_url":"https://api.github.com/users/gitmopp/repos","events_url":"https://api.github.com/users/gitmopp/events{/privacy}","received_events_url":"https://api.github.com/users/gitmopp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-15T14:34:30Z","updated_at":"2015-10-18T16:11:30Z","closed_at":null,"body":"It would be helpful if detail-syntax has a keyword like \"%(warn_threshold)\" and \"%(crit_threshold)\".\r\nThese keys should show the threshold.\r\n\r\nIn your reference guide you have an example like\r\ncheck_memory \"top-syntax=${list}\" \"detail-syntax=${type} free: ${free} used: ${used} size: ${size}\"\r\nFrom my understanding this detail-syntax is correct (using %() instead of ${})?\r\n\"detail-syntax=%(type) free: %(free) used: %(used) size: %(size)\""},"comment":{"url":"https://api.github.com/repos/mickem/nscp/issues/comments/149027301","html_url":"https://github.com/mickem/nscp/issues/183#issuecomment-149027301","issue_url":"https://api.github.com/repos/mickem/nscp/issues/183","id":149027301,"user":{"login":"mickem","id":1434697,"avatar_url":"https://avatars.githubusercontent.com/u/1434697?v=3","gravatar_id":"","url":"https://api.github.com/users/mickem","html_url":"https://github.com/mickem","followers_url":"https://api.github.com/users/mickem/followers","following_url":"https://api.github.com/users/mickem/following{/other_user}","gists_url":"https://api.github.com/users/mickem/gists{/gist_id}","starred_url":"https://api.github.com/users/mickem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mickem/subscriptions","organizations_url":"https://api.github.com/users/mickem/orgs","repos_url":"https://api.github.com/users/mickem/repos","events_url":"https://api.github.com/users/mickem/events{/privacy}","received_events_url":"https://api.github.com/users/mickem/received_events","type":"User","site_admin":false},"created_at":"2015-10-18T16:11:30Z","updated_at":"2015-10-18T16:11:30Z","body":"Problem is that you can have quite a lot of thresholds which is not applicable for many things.\r\n\r\nFor instance:\r\n\r\n    ...\"warn=title like '%foo% or free < 20G or (drive like '[CDE]' and free < 10G) or free > 30G\" ...\r\n\r\nSo not sure how that would work really..."}}