{"id":2599,"date":"2011-11-23T16:19:06","date_gmt":"2011-11-23T08:19:06","guid":{"rendered":"http:\/\/staff.ie.cuhk.edu.hk\/~sfluk\/wordpress\/?p=2599"},"modified":"2011-11-23T16:19:06","modified_gmt":"2011-11-23T08:19:06","slug":"a-bug-in-nagios-core-3-3-1-to-prevent-you-from-schedule-hostservice-downtime","status":"publish","type":"post","link":"https:\/\/staff.ie.cuhk.edu.hk\/~sfluk\/wordpress\/?p=2599","title":{"rendered":"A bug in Nagios core 3.3.1 to prevent you from schedule host\/service downtime"},"content":{"rendered":"<p>edit \/etc\/init.d\/nagios, jum to the start) fragment :<\/p>\n<p>add\u00a0chown $NagiosUser:$NagiosGroup $NagiosCommandFile<\/p>\n<p>after<\/p>\n<pre>if [ -d $NagiosLockDir ]; then touch $NagiosLockDir\/$NagiosLockFile; fi\r\necho \" done.\"<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>edit \/etc\/init.d\/nagios, jum to the start) fragment :<\/p>\n<p>add chown $NagiosUser:$NagiosGroup $NagiosCommandFile<\/p>\n<p>after<\/p>\n<p> if [ -d $NagiosLockDir ]; then touch $NagiosLockDir\/$NagiosLockFile; fi echo &#8221; done.&#8221; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[3],"tags":[94],"class_list":["post-2599","post","type-post","status-publish","format-standard","hentry","category-computer","tag-nagios","odd"],"_links":{"self":[{"href":"https:\/\/staff.ie.cuhk.edu.hk\/~sfluk\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/2599","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/staff.ie.cuhk.edu.hk\/~sfluk\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/staff.ie.cuhk.edu.hk\/~sfluk\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/staff.ie.cuhk.edu.hk\/~sfluk\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/staff.ie.cuhk.edu.hk\/~sfluk\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2599"}],"version-history":[{"count":1,"href":"https:\/\/staff.ie.cuhk.edu.hk\/~sfluk\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/2599\/revisions"}],"predecessor-version":[{"id":2600,"href":"https:\/\/staff.ie.cuhk.edu.hk\/~sfluk\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/2599\/revisions\/2600"}],"wp:attachment":[{"href":"https:\/\/staff.ie.cuhk.edu.hk\/~sfluk\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2599"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/staff.ie.cuhk.edu.hk\/~sfluk\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2599"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/staff.ie.cuhk.edu.hk\/~sfluk\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2599"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}