Ad Widget

Collapse

Overwriting agent checks with UserParameter?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jfischer
    Junior Member
    • Jan 2010
    • 11

    #1

    Overwriting agent checks with UserParameter?

    We're having some HP-UX machine in our environment which we want to monitor using ZABBIX agent (v1.8.2).

    Unfortunately, the agent does not support the proc.num[] item on HP-UX. So our idea was, to use a UserParameter to define proc.num[], e.g. like:

    UserParameter=proc.num[*],UNIX95= ps -C $1 -o args= | wc -l

    This returns ZBX_NOTSUPPORTED. The following works:

    UserParameter=proc.num,ps -ef | wc -l

    This wouldn't allow us filtering for specific processes, tho. We'd like to use the same item names so we can use the same templates for Linux and HP-UX machines for certain checks.

    Does anyone have recommendations and/or experience on how to perform this?
  • colloque
    Member
    • Feb 2010
    • 72

    #2
    RE - Overwriting agent checks with UserParameter

    I've the same thing in 1.8.2, but it works with in 1.4.4 HPUX Agent

    Comment

    Working...