Ad Widget

Collapse

automatic UserParameter

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cristifalcas
    Junior Member
    • Apr 2013
    • 5

    #1

    automatic UserParameter

    Is there any possibility to update all agents with some custom checks? Something like UserParameter but sent from the server to all agents?

    For example I want on all monitored machines to have the io statistics monitored also. Currently we have this on each agent:
    UserParameter=disk.iostat[*],iostat -dkx | grep "$1" | tr -s ' ' | cut -f $2 -d ' '

    But it's very time consuming to manually update the command, or add a new command, or update the new agents. Can we do this semi-automatically?

    Thank you
  • BrendanG
    Junior Member
    • Nov 2006
    • 18

    #2
    There are several methods to implement this.

    You can use system.run[command,<mode>] items to store the commands on the server rather than as UserParameters on the agent.

    Alternatively you can use a combination of scripts and commands to update the UserParameters via normal checks, this is discussed on this page:


    Other methods have been discussed here:

    Comment

    Working...