Announcement

Collapse
No announcement yet.

Check command arguments

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Check command arguments

    Forgive me if I missed this in the documentation.

    This works:

    $USER1$/check_graph_http.pl -g -H $HOSTADDRESS$ -w 4 -c 8 -S $ARG1$

    Oreon fills in the ServiceID and the RRD files are generated properly (as far I can see).

    This doesn't work:

    $USER1$/check_graph_http.pl -g -H $HOSTADDRESS$ -w 4 -c 8 -u $ARG1$ -S $ARG2$

    I have one http host that requires an alternate URL for testing. I thought if I included !/alternateURL! in my Check_command_arguments for that host Oreon might fill in the ServiceID. It doesn't work like that, I found. Also, if I use that check_command, all the other http hosts I'm graphing break as the ServiceID is no longer filled in properly.

    I can make a separate check command for this host that requires an alternate URL ... I just have two questions:

    What arguments will check commands autofill?
    Are arguments autofilled with default values if none are specified?

    Thanks ... this is terrific software!

    --m
Working...
X