How to automate csv export of timeline rows

Hello

Is it possible to call “CSV export of timeline rows” function by URL and change the hosts. Or is there an API that gives the same result?

Greetings

Hello,
to get the URL you need, just click on Display>This page without navigation :slight_smile:
If you want to filter your view:

  1. Monitor > All hosts
  2. Hosts>Availability
  3. Availability>Timeline
  4. Display>This page without navigation

Karl

1 Like

Thanks @kdeutsch , this solution is perfect. It’s what I need.

The time range of the timeline appears Today instead of Yesterday.

Do you know if the default time range value is saved in a file, in a cookie, or if it can be changed in the url?

Thanks!!!

I already found it

I copied the file
/omd/sites//var/check_mk/web//avooptions.mk
verifying that the range is Yesterday
{‘range’: ((1645747200.0, 1645833600.0), ‘Yesterday’),

Copy and modify the owner in the route
/omd/sites//var/check_mk/web/automation

And works

Hi,
you can use the option avo_rangespec_sel=. Open the “Time range” list in Availability>Change display options to get the index number you need/want.

Karl

that’s an easier solution, thanks. I will try.

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.