Custom action url doesn't seem to accept macro's
Re: Custom action url doesn't seem to accept macro's
Does it still open a new page? If not, then you most likely have a problem in your script or in the evaluated php in the component that is causing the error.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Custom action url doesn't seem to accept macro's
Yes, it's still opening a webpage.
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
Re: Custom action url doesn't seem to accept macro's
It shouldn't. What browser are you using? I tested it here on chrome and firefox. There must be something wrong with the edit.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Custom action url doesn't seem to accept macro's
I'm using IE10, gonna test immideatly with Firefox en review the code.
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
Re: Custom action url doesn't seem to accept macro's
Let me know. We can move to a remote if necessary - should be fixable quick.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Custom action url doesn't seem to accept macro's
Hi Andy,
Sorry but I tested again with Firefox. Also reviewed the code, but it is exactly as you specified. I'm ok with a remote, but I have only 40 minutes left.. Let me know, then I'll send you an invite (as your vpn software gets blocked by our firewall
)
Grtz
Sorry but I tested again with Firefox. Also reviewed the code, but it is exactly as you specified. I'm ok with a remote, but I have only 40 minutes left.. Let me know, then I'll send you an invite (as your vpn software gets blocked by our firewall
Grtz
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
Re: Custom action url doesn't seem to accept macro's
Did another tail of the error log: THe popup windows is still there and the script is still working.
Same errors as last time but also (or maybe didnt notice ) this one:
PHP Notice: Undefined variable: servicestatus_xml in /usr/local/nagiosxi/html/includes/components/actions/actions.inc.php on line 691, referer: http://server/nagiosxi/includes/compone ... &dest=auto
The php code in the component is still default:
Same errors as last time but also (or maybe didnt notice ) this one:
PHP Notice: Undefined variable: servicestatus_xml in /usr/local/nagiosxi/html/includes/components/actions/actions.inc.php on line 691, referer: http://server/nagiosxi/includes/compone ... &dest=auto
The php code in the component is still default:
Code: Select all
/*if((%objecttype%=='host' && '%hoststateid%'!='0') || (%objecttype%=='service' && '%servicestateid%'!='0')){$img='/nagiosxi/images/schedulecheck.png';$showlink=true;} else{$showlink=false;}*/Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
Re: Custom action url doesn't seem to accept macro's
Do me a favor. Update the component and then re-apply my changes.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Custom action url doesn't seem to accept macro's
It's already up to date (1.4)
Should I delete it and re-import it?
Should I delete it and re-import it?
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
Re: Custom action url doesn't seem to accept macro's
yeah. Download it from the exchange.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.