Links to host or service
Posted: Wed Feb 27, 2019 3:23 am
Hi!
I'm trying to link a external website to nagiosxi cmd enable host
If i use a link to force login and redirect to cmd with escapes characters like that:
/nagiosxi/login.php?redirect=/nagiosxi/includes/components/nagioscore/ui/cmd.php%3fcmd_typ%3D47%26host%3DHOST%2BNAME
Works like a charm only if i'm not logged into nagiosxi before, but if already logged don't works and i have to used the direct option without escaping characters:
/nagiosxi/includes/components/nagioscore/ui/cmd.php?cmd_typ=47&host=HOST+NAME
but if I'm not logged a "session timeout" screen appears
¿There is a form with a single link, have both options logged or not logged, working together?
I'm trying to link a external website to nagiosxi cmd enable host
If i use a link to force login and redirect to cmd with escapes characters like that:
/nagiosxi/login.php?redirect=/nagiosxi/includes/components/nagioscore/ui/cmd.php%3fcmd_typ%3D47%26host%3DHOST%2BNAME
Works like a charm only if i'm not logged into nagiosxi before, but if already logged don't works and i have to used the direct option without escaping characters:
/nagiosxi/includes/components/nagioscore/ui/cmd.php?cmd_typ=47&host=HOST+NAME
but if I'm not logged a "session timeout" screen appears
¿There is a form with a single link, have both options logged or not logged, working together?