{"action":"created","issue":{"url":"https://api.github.com/repos/mickem/nscp/issues/297","repository_url":"https://api.github.com/repos/mickem/nscp","labels_url":"https://api.github.com/repos/mickem/nscp/issues/297/labels{/name}","comments_url":"https://api.github.com/repos/mickem/nscp/issues/297/comments","events_url":"https://api.github.com/repos/mickem/nscp/issues/297/events","html_url":"https://github.com/mickem/nscp/issues/297","id":154651820,"number":297,"title":"buggy count comparison filter in 0.4.3 and 0.4.4","user":{"login":"joba12","id":17780286,"avatar_url":"https://avatars.githubusercontent.com/u/17780286?v=3","gravatar_id":"","url":"https://api.github.com/users/joba12","html_url":"https://github.com/joba12","followers_url":"https://api.github.com/users/joba12/followers","following_url":"https://api.github.com/users/joba12/following{/other_user}","gists_url":"https://api.github.com/users/joba12/gists{/gist_id}","starred_url":"https://api.github.com/users/joba12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joba12/subscriptions","organizations_url":"https://api.github.com/users/joba12/orgs","repos_url":"https://api.github.com/users/joba12/repos","events_url":"https://api.github.com/users/joba12/events{/privacy}","received_events_url":"https://api.github.com/users/joba12/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mickem/nscp/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/mickem/nscp/milestones/4","html_url":"https://github.com/mickem/nscp/milestones/0.5.0","labels_url":"https://api.github.com/repos/mickem/nscp/milestones/4/labels","id":1400278,"number":4,"title":"0.5.0","description":"","creator":{"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},"open_issues":12,"closed_issues":33,"state":"open","created_at":"2015-11-08T19:15:07Z","updated_at":"2016-05-30T19:34:37Z","due_on":"2016-01-31T23:00:00Z","closed_at":null},"comments":6,"created_at":"2016-05-13T07:40:40Z","updated_at":"2016-06-01T20:11:40Z","closed_at":null,"body":"Got some problems with count and <, > and =\r\n\r\nThe following example: Want to check if 2 of 3 processes are started\r\n`nscp.exe client -q check_process \"filter=exe = 'aaa.exe' or exe = 'bbb.exe' or exe = 'ccc.exe'\" process=* \"warn=count < 2 \" \"crit=count < 1 \"\r\nWARNING: aaa.exe=started|'count'=2;2;1`\r\n\r\nIn the result you can see that there are two processes started, but output is only processed for one and state is critical, even if 2 is not lower than 2\r\nAfter alot of testing I could not find a working solution\r\nTested the following two examples and a lot more (!=, =, <,...\":\r\n\"warn=count < 2 \" \"crit=count < 1 \"\r\n\"warn=count = 1 \" \"crit=count = 0 \"\r\n\r\n\r\nFurthermore filter rules are case sensitive, it would be nice to have possibility to use them non case sensitive"},"comment":{"url":"https://api.github.com/repos/mickem/nscp/issues/comments/223110086","html_url":"https://github.com/mickem/nscp/issues/297#issuecomment-223110086","issue_url":"https://api.github.com/repos/mickem/nscp/issues/297","id":223110086,"user":{"login":"joba12","id":17780286,"avatar_url":"https://avatars.githubusercontent.com/u/17780286?v=3","gravatar_id":"","url":"https://api.github.com/users/joba12","html_url":"https://github.com/joba12","followers_url":"https://api.github.com/users/joba12/followers","following_url":"https://api.github.com/users/joba12/following{/other_user}","gists_url":"https://api.github.com/users/joba12/gists{/gist_id}","starred_url":"https://api.github.com/users/joba12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joba12/subscriptions","organizations_url":"https://api.github.com/users/joba12/orgs","repos_url":"https://api.github.com/users/joba12/repos","events_url":"https://api.github.com/users/joba12/events{/privacy}","received_events_url":"https://api.github.com/users/joba12/received_events","type":"User","site_admin":false},"created_at":"2016-06-01T20:11:39Z","updated_at":"2016-06-01T20:11:39Z","body":"Thanks for the information mickem\r\n\r\nThe other issue was explained by MaskierterMuchacho very good, exactly hit the spot"}}
{"actor":{"display_login":"joba12"}}