srcid on OpenBSD

Eric Pancer epancer at pobox.com
Fri Mar 14 12:52:15 EDT 2008


On Fri, 2008-03-14 at 12:45:40 -0400, Mark Bartlett proclaimed...

>    Can you give me an example of what you are using for your SRCID?  I
>    put the following:

Sure..

$ grep MONITOR /etc/argus.conf
ARGUS_MONITOR_ID=172.12.4.14

$ grep MONITOR /etc/radium.conf
RADIUM_MONITOR_ID=172.12.4.15

>    ARGUS_MONITOR_ID=33  and I get this in the srcid field = [1]0.0.0.33
>    If I put this:
>    '
>    ARGUS_MONITOR_ID=12345 I get this, [2]0.0.48.57
>    If I try this:
>    ARGUS_MONITOR_ID='argus-server-test'
>    I get an error on start:  ArgusError: argus[5150]: 14 Mar 08
>    16:34:28.916521 ArgusParseResourceFile(/etc/argus.conf) syntax error
>    line 76
>    If I try this (No quotes):
>    ARGUS_MONITOR_ID=argus-server-test
>    Now the srcid is the IP address of argus-server-test defined in the
>    /etc/hosts file...
>    Just trying to get an example of 'how' people are using this srcid
>    (ARGUS_MONITOR_ID) field, and how it is 'supposed' to be used...
>    thanks.

I believe the value needs to be a numeric value. See the man page as it's
well defined.

- Eric



More information about the argus mailing list