Thruk 2.14

9 views
Skip to first unread message

John Cadman

unread,
Apr 12, 2021, 5:54:48 PM4/12/21
to Thruk

is there a way to extract the 'expanded command' section, via json or curling, or some other means - cant get to cli, and i don't think this version has rest either.

unfortunately this is a work thing, and i cant get to the back end, nor can i upgrade it.
any ideas?

Thanks

John


Sven Nierlein

unread,
Apr 14, 2021, 3:06:22 AM4/14/21
to th...@googlegroups.com, John Cadman
Hi John,

I don't think thats easily possible. From the cli there is a "thruk command <host> <service>" command.
With curl you could fetch the extinfo page, but there is no json export, so you would have to extract
the command from the html page.

Cheers,
Sven


Am 12.04.21 um 23:54 schrieb John Cadman:
> --
> You received this message because you are subscribed to the Google Groups "Thruk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to thruk+un...@googlegroups.com <mailto:thruk+un...@googlegroups.com>.
> To view this discussion on the web visit https://groups.google.com/d/msgid/thruk/e6434e63-eaba-458f-a0f1-b1ba35781c56n%40googlegroups.com <https://groups.google.com/d/msgid/thruk/e6434e63-eaba-458f-a0f1-b1ba35781c56n%40googlegroups.com?utm_medium=email&utm_source=footer>.

Reply all
Reply to author
Forward
0 new messages