Ad Widget

Collapse

Zabbix Agent 2 builtin checks capacity and logs

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • _Andrey
    Junior Member
    • Jul 2013
    • 27

    #1

    Zabbix Agent 2 builtin checks capacity and logs

    Hello.

    I'm considering migration from agent to agent 2 and all looks relatively clear, except these two things:

    StartAgents - according to documentation it was been replaced by Plugins.<PluginName>.System.Capacity=N​ but i wonder how i can set this setting for such basic (builtin?) checks like icmpping? Does something like "Plugins.System.Capacity=N" (without plugin name) do the trick?

    And second, parameter LogRemoteCommands was removed? Didn't found any clue about how to log remote commands now...

    Can someone help me to answer these questions? I appreciate any info.​
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4811

    #2
    For second qwuestion there is answer in docs..
    Plugins.SystemRun.LogRemoteCommands no 0 Enable logging of executed shell commands as warnings.
    0 - disabled
    1 - enabled
    Commands will be logged only if executed remotely. Log entries will not be created if system.run[] is launched locally by HostMetadataItem, HostInterfaceItem or HostnameItem parameters.
    This parameter is supported since 4.4.2 and replaces LogRemoteCommands.

    Comment

    • _Andrey
      Junior Member
      • Jul 2013
      • 27

      #3
      Thanks for help! Info that you provided is useful for me, too bad that I couldn't manage to find it by myself in docs...
      As for the first question, Plugins.System.Capacity key really did the trick. (maybe this info will be useful for someone)

      Comment

      Working...