Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add "stop on arbitrary number of failed replies" function #141

Open
lazna opened this issue Jul 15, 2024 · 0 comments
Open

add "stop on arbitrary number of failed replies" function #141

lazna opened this issue Jul 15, 2024 · 0 comments

Comments

@lazna
Copy link

lazna commented Jul 15, 2024

dealing with routing issue time by time. Want to write script where pinging some host and when it stop responding (e.g. 4 pings failed), want to terminate ping and continue to next script step, download routing tables from several machines to see what is happeing there. So %subj% function will be handy, with possible specification of reply type:

something like:

powerping --noreplystop <num_of_timouted_packets_required_to_ping_terminate>
powerping --replycode <specific_icmp_code> <num_of_specified_replycodes_required_to_ping_terminate>

possibly add option to distinct 'continous serie cause ping stop' from 'total number cause ping stop' but I do not want to complicate it too much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant