Error To many Processess!

Hey just letting you guys no the parallel 5 did in the zencommand.conf
did not work after I continued to add more checks.

So i broke it down by creating new monitors, when I did that I didn't
receive any more errors but that was because it was still only loading
the default monitor "localhost".


So after some thinking I came up with this solution.

I literally copied zencommand.conf to the new monitor names etc..
zencommand_Web.conf and put the variable monitor Web in that file.


Then I copied /bin/zencommand to /bin/zencommand_Web then in the new
file made sure the files match

contents of zencommand
#! /usr/bin/env bash

. $ZENHOME/bin/zenfunctions

PRGHOME=$ZENHOME/Products/ZenRRD
PRGNAME=zencommand.py
CFGFILE=$CFGDIR/zencommand.conf
PIDFILE=$VARDIR/$PRGNAME.pid

generic "$@"


contents of zencommand_Web
#! /usr/bin/env bash

. $ZENHOME/bin/zenfunctions

PRGHOME=$ZENHOME/Products/ZenRRD
PRGNAME=zencommand_Web.py
CFGFILE=$CFGDIR/zencommand_Web.conf
PIDFILE=$VARDIR/$PRGNAME.pid

generic "$@"


then for /Products/ZenRRD/zencommand.py i just mad another copy if it
and renamed it to zencommand_Web.py


then in /bin/zenoss I added this 

C="$C zencommand_Web"
right under this 
C="$C zencommand"

I also did the same for zenperfsnmp and zenperfxmlrpc


Now I can honestly say that I'm no longer having these issues.



Now I do not know if you guys had a easier or better solution but this
is what I came up with..


I tried adding multiple monitors and that didn't work and a few other
things that would not work at all.
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to