Ignoring Downs during certain times

Jeff Weisberg jaw+arguslist at tcp4me.com
Mon Oct 18 13:59:56 EDT 2004

| Is this legal?  Argus didn't choke on it, but I want to make sure it
| does what I think it does...  It should set the maxvalue to 35 except
| between the hours of 1am and 4am where it would be set to 40.  Will this
| work ok when argus starts up, or do I need to put a maxvalue outside of
| the crons?

if you want argus to use a maxvalue when it starts up,
then yes, you need to specify it.

| 	      cron "0 1 * * * *" {
| 		 func: setparam
| 		 param: maxvalue
| 		 value: 40
| 	      }

but, for the param you need to use the name that argus knows
it by, not the name that you use in the config file.
you will need to say:

		param: test::maxvalue

Click the 'Debugging' link to see the params as argus
knows them.


More information about the Arguslist mailing list