Hi,
i want to monitor several processes on a maschine that got different command line parameters.
I used the cmdline param that num.proc provides and so far no problems with that. Until i got to a situation like this:
proc cmd1
proc 1
So the first process got a commandline parameter that includes a 1 so
num.proc[proc,,,1] will return 2
How do i prevent that 2 processes will be counted ?
I tried several searchstrings like
num.proc[proc,,,"^1"]
but nothing worked for me so far.
I use
ZABBIX Agent (daemon) v1.8 (revision 8565) (7 December 2009)
Compilation time: Jan 22 2010 11:08:25
with
SunOS 5.8 Generic_117350-46 sun4u sparc SUNW,Sun-Fire-880 Solaris
i want to monitor several processes on a maschine that got different command line parameters.
I used the cmdline param that num.proc provides and so far no problems with that. Until i got to a situation like this:
proc cmd1
proc 1
So the first process got a commandline parameter that includes a 1 so
num.proc[proc,,,1] will return 2
How do i prevent that 2 processes will be counted ?
I tried several searchstrings like
num.proc[proc,,,"^1"]
but nothing worked for me so far.
I use
ZABBIX Agent (daemon) v1.8 (revision 8565) (7 December 2009)
Compilation time: Jan 22 2010 11:08:25
with
SunOS 5.8 Generic_117350-46 sun4u sparc SUNW,Sun-Fire-880 Solaris