stevie-sy
(Stevie Sy)
March 23, 2020, 12:17pm
1
Hi guys,
I’m playing arround with the DB IDO cleanup function. But I’m missing the possible units in the docs (https://icinga.com/docs/icinga2/latest/doc/09-object-types/#idomysqlconnection and https://icinga.com/docs/icinga2/latest/doc/14-features/#db-ido-cleanup ). Does this somebody know? in the examples we can only find h for hours and d for days.
Thank you
Hi,
i think you search this one here numeric literals .
`
Supported suffixes include ms (milliseconds), s (seconds), m (minutes), h (hours) and d (days).
Regards,
Carsten
2 Likes
stevie-sy
(Stevie Sy)
March 24, 2020, 8:21am
3
Hi Carsten, thank you! Yes for this I was looking for
But I would never have thought of looking there when I configured the IDO. @twidhalm maybe this would be an optimization for the docs like links?
thanks
Stefan
twidhalm
(Thomas Widhalm)
March 24, 2020, 8:23am
4
I think that’s an enhancement of documentation many could benefit from. Would you file a patch or pull request or would like one of us to do this?
stevie-sy
(Stevie Sy)
March 24, 2020, 8:25am
5
ok, I’ll try it
It will be the first
3 Likes
twidhalm
(Thomas Widhalm)
March 24, 2020, 8:27am
6
Way to go! The more people contribute, the merry. If you need help, just ask. There are some tutorials (I think within the Icinga documentation) which will help you with contributing. If you need anything, just let us know.
Thanks in advance.
2 Likes
stevie-sy
(Stevie Sy)
April 1, 2020, 7:41am
7
Pull request is done: https://github.com/Icinga/icinga2/pull/7953
Be merciful if something doesn’t fit
3 Likes
twidhalm
(Thomas Widhalm)
April 1, 2020, 7:55am
8
Thank you very much! It’s great to have another contributor joining in.
3 Likes