Ad Widget

Collapse

Disable the remote commands between 11 pm and 4 am

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mch
    Junior Member
    • Aug 2006
    • 4

    #1

    Disable the remote commands between 11 pm and 4 am

    Hello,

    Is it possible de disable the remote commands between 11 pm and 4 am ?

    The saves begin at 11 pm and stop many services, and my remote command is a "send sms"...

    Thanks
  • Fábio Emilio Costa
    Junior Member
    • Aug 2006
    • 14

    #2
    Okay, that's totally untested, but...

    I believe that you could create a alternative zabbix_agent.conf, disabling Remote commands, and create a cron entry that, when the estipulated time comes, shuts zabbix_agent down and fires zabbix_agent up again, using the alternative zabbix_agent.conf! When the time slice for disabling of remote commands came, other cron entry shuts zabbix_agent down again and fires zabbix_agent up again, with default configuration.

    Comment

    • mch
      Junior Member
      • Aug 2006
      • 4

      #3
      It's OK, it's possible to add a condition "time period" and then I specified 1-7,05:45-23:00

      Thanks

      Comment

      Working...