Howdy,

>> Actually, some versions of ping do allow you to set the source
>> address. The version in iputils package allows you to set the IP via
>> -I <address or interface name>. I don't have a machine I can test
>> the exact situation described, but I believe it will work as desired.
> 
> That's nice but that doesn't help with the network based
> nagios-plugins any, which was the OP's goal. I didn't say it was
> impossible to do at all, just not with the standard nagios plugins.

Duh. I was thinking you could define it as an additional parameter in
the command config. And since check_ping is a C plugin instead of a
script, modifying it is definitely outside my abilities!

My apologies, and thanks for the pointer. Since I've learned something
already, do you think the boss would let me go home now? (9 AM on a
Friday my time) :-)

Michael


Michael Silver, Network Administrator
Parkland Regional Library
5404 56 Avenue Lacombe, AB T4L 1G1
Phone: 403.782.3850    Fax: 403.782.4650
http://www.prl.ab.ca/  [EMAIL PROTECTED]


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Nagios-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to