PDA

View Full Version : -S unknown option


the-me
07-06-2007, 04:12 PM
Hello,

I've tried out Oreon with nagios 2.6 on my Debian Etch machine.

Now it runs well but at some hosts I get the following error, where normaly my ping status informations stand:

**ePN /usr/lib/nagios/plugins//check_graph_ping.pl: "Option S requires an argument".

The host is up and it's in the same servicegroup like all the other servers.

Here's a little debug output that I've added to this perl script:
Fri Jul 6 15:09:20 2007 - -H XXXXXXXXXX -w 200,20% -c 500,40% -f -n 3 -g -S 1_1
Fri Jul 6 15:09:29 2007 - -H XXXXXXXXXX -w 200,20% -c 500,40% -f -n 3 -g -S 2_1
Fri Jul 6 15:09:39 2007 - -H XXXXXXXXXX -w 200,20% -c 500,40% -f -n 3 -g -S 6_1
Fri Jul 6 15:09:49 2007 - -H XXXXXXXXXX -w 200,20% -c 500,40% -f -n 3 -g -S 5_1
Fri Jul 6 15:09:59 2007 - -H XXXXXXXXXX -w 200,20% -c 500,40% -f -n 3 -g -S 4_1
Fri Jul 6 15:10:09 2007 - -H 1.1.1.1 -w 200,20% -c 500,40% -f -n -g -S
Fri Jul 6 15:10:10 2007 - -H 1.1.1.1 -w 200,20% -c 500,40% -f -n -g -S
Fri Jul 6 15:10:10 2007 - -H 1.1.1.1 -w 200,20% -c 500,40% -f -n -g -S
Fri Jul 6 15:10:10 2007 - -H 1.1.1.1 -w 200,20% -c 500,40% -f -n -g -S
Fri Jul 6 15:10:10 2007 - -H 1.1.1.1 -w 200,20% -c 500,40% -f -n 3 -g -S 7_1
Fri Jul 6 15:10:19 2007 - -H 1.1.1.1 -w 200,20% -c 500,40% -f -n -g -S
Fri Jul 6 15:10:19 2007 - -H 1.1.1.1 -w 200,20% -c 500,40% -f -n -g -S
Fri Jul 6 15:10:20 2007 - -H 1.1.1.1 -w 200,20% -c 500,40% -f -n -g -S
Fri Jul 6 15:10:20 2007 - -H 1.1.1.1 -w 200,20% -c 500,40% -f -n -g -S
Fri Jul 6 15:10:20 2007 - -H XXXXXXXXXX -w 200,20% -c 500,40% -f -n 3 -g -S 1_1
Fri Jul 6 15:10:29 2007 - -H XXXXXXXXXX -w 200,20% -c 500,40% -f -n 3 -g -S 2_1
Fri Jul 6 15:10:39 2007 - -H XXXXXXXXXX -w 200,20% -c 500,40% -f -n 3 -g -S 6_1
Fri Jul 6 15:10:49 2007 - -H XXXXXXXXXX -w 200,20% -c 500,40% -f -n 3 -g -S 5_1
Fri Jul 6 15:10:59 2007 - -H XXXXXXXXXX -w 200,20% -c 500,40% -f -n 3 -g -S 4_1

These is a little snip which shows with what for arguments the script has been caled. I censored the IPs but the one with '1.1.1.1' is the server which has this error at the picture.

I'm using all patches that are available (1.4-1 - 1.4-5).

I hope someone could help me :)

the-me
07-11-2007, 05:08 PM
It still exists in 1.4.1-rc1.... Could anybody please try to help me?

Wolfgang
07-12-2007, 10:53 AM
It seems as if you configured graphs for the other machines. The option -S expects the "Oreon Service ID"

the-me
07-12-2007, 10:56 AM
How can I do this?
Yes I want graphs in my centreon for other machines (with graph_ping).

Have I to install other services then on the machine from there I want the graphs?

I think I don't understand the princip completly.