{"action":"created","issue":{"url":"https://api.github.com/repos/opnsense/plugins/issues/583","repository_url":"https://api.github.com/repos/opnsense/plugins","labels_url":"https://api.github.com/repos/opnsense/plugins/issues/583/labels{/name}","comments_url":"https://api.github.com/repos/opnsense/plugins/issues/583/comments","events_url":"https://api.github.com/repos/opnsense/plugins/issues/583/events","html_url":"https://github.com/opnsense/plugins/issues/583","id":302383704,"number":583,"title":"Monit does not update","user":{"login":"tpcr","id":22845650,"avatar_url":"https://avatars3.githubusercontent.com/u/22845650?v=4","gravatar_id":"","url":"https://api.github.com/users/tpcr","html_url":"https://github.com/tpcr","followers_url":"https://api.github.com/users/tpcr/followers","following_url":"https://api.github.com/users/tpcr/following{/other_user}","gists_url":"https://api.github.com/users/tpcr/gists{/gist_id}","starred_url":"https://api.github.com/users/tpcr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tpcr/subscriptions","organizations_url":"https://api.github.com/users/tpcr/orgs","repos_url":"https://api.github.com/users/tpcr/repos","events_url":"https://api.github.com/users/tpcr/events{/privacy}","received_events_url":"https://api.github.com/users/tpcr/received_events","type":"User","site_admin":false},"labels":[{"id":234308541,"url":"https://api.github.com/repos/opnsense/plugins/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":{"login":"fbrendel","id":20316831,"avatar_url":"https://avatars1.githubusercontent.com/u/20316831?v=4","gravatar_id":"","url":"https://api.github.com/users/fbrendel","html_url":"https://github.com/fbrendel","followers_url":"https://api.github.com/users/fbrendel/followers","following_url":"https://api.github.com/users/fbrendel/following{/other_user}","gists_url":"https://api.github.com/users/fbrendel/gists{/gist_id}","starred_url":"https://api.github.com/users/fbrendel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fbrendel/subscriptions","organizations_url":"https://api.github.com/users/fbrendel/orgs","repos_url":"https://api.github.com/users/fbrendel/repos","events_url":"https://api.github.com/users/fbrendel/events{/privacy}","received_events_url":"https://api.github.com/users/fbrendel/received_events","type":"User","site_admin":false},"assignees":[{"login":"fbrendel","id":20316831,"avatar_url":"https://avatars1.githubusercontent.com/u/20316831?v=4","gravatar_id":"","url":"https://api.github.com/users/fbrendel","html_url":"https://github.com/fbrendel","followers_url":"https://api.github.com/users/fbrendel/followers","following_url":"https://api.github.com/users/fbrendel/following{/other_user}","gists_url":"https://api.github.com/users/fbrendel/gists{/gist_id}","starred_url":"https://api.github.com/users/fbrendel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fbrendel/subscriptions","organizations_url":"https://api.github.com/users/fbrendel/orgs","repos_url":"https://api.github.com/users/fbrendel/repos","events_url":"https://api.github.com/users/fbrendel/events{/privacy}","received_events_url":"https://api.github.com/users/fbrendel/received_events","type":"User","site_admin":false}],"milestone":null,"comments":13,"created_at":"2018-03-05T17:07:58Z","updated_at":"2018-03-07T16:13:17Z","closed_at":"2018-03-06T16:58:21Z","author_association":"NONE","body":"Since update today to Monit 1.5 new or changed settings do not work as expected.\r\nAlso email notifications are not consistent. The 'Test Configuration' button does not work consistently.\r\nClicking the 'Reload Configuration' button does not reinitialize the status.\r\n\r\nMonit also shows control issues on one of the boxes. Shows\r\n'/usr/local/etc/monitrc:17: syntax error 'failed'' when testing the configuration. Tried to reinstall Monit with no success. \r\n\r\nNon of these issues existed yesterday."},"comment":{"url":"https://api.github.com/repos/opnsense/plugins/issues/comments/371190865","html_url":"https://github.com/opnsense/plugins/issues/583#issuecomment-371190865","issue_url":"https://api.github.com/repos/opnsense/plugins/issues/583","id":371190865,"user":{"login":"tpcr","id":22845650,"avatar_url":"https://avatars3.githubusercontent.com/u/22845650?v=4","gravatar_id":"","url":"https://api.github.com/users/tpcr","html_url":"https://github.com/tpcr","followers_url":"https://api.github.com/users/tpcr/followers","following_url":"https://api.github.com/users/tpcr/following{/other_user}","gists_url":"https://api.github.com/users/tpcr/gists{/gist_id}","starred_url":"https://api.github.com/users/tpcr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tpcr/subscriptions","organizations_url":"https://api.github.com/users/tpcr/orgs","repos_url":"https://api.github.com/users/tpcr/repos","events_url":"https://api.github.com/users/tpcr/events{/privacy}","received_events_url":"https://api.github.com/users/tpcr/received_events","type":"User","site_admin":false},"created_at":"2018-03-07T16:13:17Z","updated_at":"2018-03-07T16:13:17Z","author_association":"NONE","body":"That was a GREAT help. Thank you.\r\nNow what about a custom test. I have created a script to check CPU temps.\r\nHow can I add a condition that has the temp value to check\r\nie. Condition -  \"CPU temp greater than 60 degrees\"\r\nhere is my script\r\n`#!/bin/csh\r\n\r\nset MaxCPUTemp = 60\r\nset status = 0\r\nset NumCPUs = `sysctl -n kern.smp.cpus`\r\nset CurrentCPU = 0\r\n\r\nwhile ( $CurrentCPU < $NumCPUs )\r\n   set CPUTemp = `sysctl dev.cpu.$CurrentCPU.temperature | awk '{print $2}' | awk -F. '{print $1}'`\r\n   echo \"CPU $CurrentCPU temp: $CPUTemp\"\r\n   if ( $CPUTemp >= $MaxCPUTemp ) then\r\n   exit 1\r\n   endif\r\n   @ CurrentCPU = $CurrentCPU + 1\r\nend\r\nexit 0`"}}
{"actor":{"display_login":"tpcr"}}