{"action":"created","issue":{"url":"https://api.github.com/repos/centreon/centreon-plugins/issues/209","labels_url":"https://api.github.com/repos/centreon/centreon-plugins/issues/209/labels{/name}","comments_url":"https://api.github.com/repos/centreon/centreon-plugins/issues/209/comments","events_url":"https://api.github.com/repos/centreon/centreon-plugins/issues/209/events","html_url":"https://github.com/centreon/centreon-plugins/issues/209","id":117491711,"number":209,"title":"[snmp_standard::plugin mode=uptime] minimum uptime","user":{"login":"maksimatveev","id":15804154,"avatar_url":"https://avatars.githubusercontent.com/u/15804154?v=3","gravatar_id":"","url":"https://api.github.com/users/maksimatveev","html_url":"https://github.com/maksimatveev","followers_url":"https://api.github.com/users/maksimatveev/followers","following_url":"https://api.github.com/users/maksimatveev/following{/other_user}","gists_url":"https://api.github.com/users/maksimatveev/gists{/gist_id}","starred_url":"https://api.github.com/users/maksimatveev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maksimatveev/subscriptions","organizations_url":"https://api.github.com/users/maksimatveev/orgs","repos_url":"https://api.github.com/users/maksimatveev/repos","events_url":"https://api.github.com/users/maksimatveev/events{/privacy}","received_events_url":"https://api.github.com/users/maksimatveev/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/centreon/centreon-plugins/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-18T01:37:25Z","updated_at":"2015-11-18T09:05:45Z","closed_at":null,"body":"Hi!\r\nHow, using this plugin, specify the minimum uptime?\r\n\r\n./centreon_plugins.pl --plugin=snmp_standard::plugin --mode=uptime --hostname=xx.xx.xx.xx --snmp-community=public --snmp-version=2c\r\nOK: System uptime is: 29 days | 'uptime'=2588697s;;;0;\r\n\r\nExample of use: there is an equipment that is often reboots. Required to be notified that operation time is less than the specified minimum.\r\nThe key --warning/--critical sets the upper range for triggering a notification:\r\nWARNING: System uptime is: 29 days | 'uptime'=2589163s;0:3600;;0;\r\n\r\nIt also makes sense to use the values in the graphs are not only seconds, but in these days, for example through a separate key."},"comment":{"url":"https://api.github.com/repos/centreon/centreon-plugins/issues/comments/157649902","html_url":"https://github.com/centreon/centreon-plugins/issues/209#issuecomment-157649902","issue_url":"https://api.github.com/repos/centreon/centreon-plugins/issues/209","id":157649902,"user":{"login":"garnier-quentin","id":9079781,"avatar_url":"https://avatars.githubusercontent.com/u/9079781?v=3","gravatar_id":"","url":"https://api.github.com/users/garnier-quentin","html_url":"https://github.com/garnier-quentin","followers_url":"https://api.github.com/users/garnier-quentin/followers","following_url":"https://api.github.com/users/garnier-quentin/following{/other_user}","gists_url":"https://api.github.com/users/garnier-quentin/gists{/gist_id}","starred_url":"https://api.github.com/users/garnier-quentin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garnier-quentin/subscriptions","organizations_url":"https://api.github.com/users/garnier-quentin/orgs","repos_url":"https://api.github.com/users/garnier-quentin/repos","events_url":"https://api.github.com/users/garnier-quentin/events{/privacy}","received_events_url":"https://api.github.com/users/garnier-quentin/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T09:05:45Z","updated_at":"2015-11-18T09:05:45Z","body":"\r\nHi,\r\n\r\nYou can set minimum threshold with following syntax: https://nagios-plugins.org/doc/guidelines.html#THRESHOLDFORMAT"}}