Actions component

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: Actions component

Post by benhank »

The actions URL is still a no.


the Action component, now will save settings for some hostgroups and not others.
I have a specific hg I 2want to use but selecting it and applying it blanks out and doesn't save.
Hold up, I have just discovered that the actions component will only save properly and work correctly for hg's i haven't selected previously.

If I select a hg, apply settings. It saves properly and works.

If I then switch to another new HG (from any of the three fields) and then try to select the original hg again, that's when it won't save.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Actions component

Post by abrist »

Man, you get all the strange ones today. Try to remove the component and re-add it. Report back.
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.
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: Actions component

Post by benhank »

what do you mean "today" lol.
I have tried to uninstall and reinstall it.
I followed the instructions that scott gave me in this post and I even used this command:"

Code: Select all

 # rm -rf /usr/local/nagiosxi/html/includes/components/"somecomponent"
.

I even backed up the server we are trying to fix, and restored it to my test box. Then I installed the CCM patch scott brewed up:

Code: Select all

http://support.nagios.com/forum/viewtopic.php?f=16&t=9390&p=45662&hilit=action+url+ccm#p45687
To try to fix the Actions URL, but nothing.
i am tempted to run the repair my sql, but that option sets my teeth to chattering and hands a shakin...
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Actions component

Post by abrist »

Try running Scott's postgres cleanup once again:

Code: Select all

echo "delete from xi_options where name ='actions_component_options';"|psql nagiosxi nagiosxi
Report back.
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.
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: Actions component

Post by benhank »

unfortunatly no go.

If I got the actions_url to work i could live with that.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Actions component

Post by abrist »

Yeah, but the action_url component is deprecated and has been for a while now. You could try removing the actions component, running Scott's postgres cleanup, and then run the vaccum fix from the faq in that order. But it is a long shot. . . .

I think someone said something once about repeating the same task over and over again and expecting different results . . . . is not insanity, just proper troubleshooting?
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.
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: Actions component

Post by benhank »

Well I guess I am screwed.
I wonder if I fixed the opscreen error if that would work. maybe it's screwin me up
Last edited by benhank on Mon Mar 11, 2013 4:55 pm, edited 1 time in total.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Actions component

Post by abrist »

Ben, lets move this to our ticketing system and set up a remote session tomorrow. Send an email to [email protected].
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.
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: Actions component

Post by benhank »

cool man !
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Actions component

Post by abrist »

No problem. We will see you tomorrow - as soon as I get into the office we will try to get a time setup. I have a meeting around noon (central), but beyond that my time tomorrow is flexible. Send us an email and we will move from there.
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.
Locked