Skip to content

Ping Targets #47

Answered by wifinigel
Blazerfi asked this question in Q&A
Jan 25, 2021 · 8 comments · 7 replies
Discussion options

You must be logged in to vote

Hi Lance,

The number of ping targets is currently fixed at five targets in the code.

I would need to update the code to support this.

The main reason for implementing it this way was that in the config file, it's quite tricky to know how many targets to check for, as the data structure capabilities of the 'ini' file format are quite limited.

I'm pretty sure I can fix this in a future release, I just need to think of the best approach and add it to the poller code.

Just thinking about it quickly, I wonder if maybe a number_of_targets field would solve the issue:

[Ping_Test]
; yes = enabled, no = disabled
enabled: yes
;
; Number of ping targets
; number_of_targets: 7
;
; first host we'd lik…

Replies: 8 comments 7 replies

Comment options

You must be logged in to vote
2 replies
@Blazerfi
Comment options

@Blazerfi
Comment options

Answer selected by Blazerfi
Comment options

You must be logged in to vote
1 reply
@Blazerfi
Comment options

Comment options

You must be logged in to vote
1 reply
@Blazerfi
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@Blazerfi
Comment options

@lealog
Comment options

@wifinigel
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants