| Anonymous | Login | Signup for a new account | 2013-05-22 02:18 EDT |
| Main | My View | View Issues | Change Log | Roadmap |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||
| 0000268 | [Nagios Plugins] * Feature Request * | feature | always | 2011-11-01 09:13 | 2012-09-18 09:12 | ||
| Reporter | bva | View Status | public | ||||
| Assigned To | |||||||
| Priority | normal | Resolution | open | ||||
| Status | closed | ||||||
| Summary | 0000268: Define source ip for check_ping. | ||||||
| Description |
There are thousand of inet aliases on same interface on Nagios host. And some of switches which I need to check, accepts ICMP only from certain internal addresses, but default route policy forward packets through wrong gateway. I couldn't change routing and settings on switches. The solution [for me] is to specify the source address for check_ping. |
||||||
| Additional Information |
Used nagios-plugins-1.4.15 [nagios]> ./check_ping -H 192.168.17.114 -w 3000.0,80% -c 5000.0,100% -p 1 PING CRITICAL - Packet loss = 100%|rta=5000.000000ms;3000.000000;5000.000000;0.000000 pl=100%;80;100;0 [nagios]> [nagios]> route get 192.168.17.114 route to: 192.168.17.114 destination: 192.168.17.112 mask: 255.255.255.252 gateway: cat1 interface: vlan1 flags: <UP,GATEWAY,DONE,PROTO1> recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 0 0 0 0 0 0 1500 0 [nagios]> [nagios]> ./check_ping2 -S 192.168.150.3 -H 192.168.17.114 -w 3000.0,80% -c 5000.0,100% -p 1 PING OK - Packet loss = 0%, RTA = 3.67 ms|rta=3.668000ms;3000.000000;5000.000000;0.000000 pl=0%;80;100;0 |
||||||
| Tags | No tags attached. | ||||||
| OS | FreeBSD | ||||||
| OS Version | 7.2-RELEASE | ||||||
| Attached Files |
|
||||||
|
|
|||||||
Notes |
|
|
(0000518) calestyo (reporter) 2012-07-31 18:54 |
Forwarded to: https://sourceforge.net/tracker/?func=detail&aid=3552828&group_id=29880&atid=397597 [^] |
| Mantis 1.1.7[^] Copyright © 2000 - 2008 Mantis Group |