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

Actions component

Post by benhank »

The problem I am having is that the ACTIONS component, not actions url, isn't saving the settings i put in it. the difference I am seeing between my testbox and prod box is that:
When I set a host group and update the settings the host group disapears from the settings and the settings dont apply
also there are only two fields available and not 3.
I am running the latest version that came with xi 2012 1.6
productionJPG.JPG

as compared to the test server:
test.JPG
You do not have the required permissions to view the files attached to this post.
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
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Actions component

Post by lmiltchev »

What is the version # of the Actions component?

Admin->Manage Components

Did you try clicking on the "Check for Updates" from the "Manage Components" page to see if there is a newer version available?
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: Actions component

Post by benhank »

I am running the latest version that came with xi 2012 1.6

I forgot to mention, for some reason the apply applied my settings to all of my objects and not just the one hostgroup I selected. I cant reverse this because of the issue above
You do not have the required permissions to view the files attached to this post.
Last edited by slansing on Tue Mar 05, 2013 3:46 pm, edited 1 time in total.
Reason: Please do not "bump" your thread, we have a system which lists all threads that are awaiting replies.
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
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: Actions component

Post by benhank »

sorry about that.
Hey, I tried to delete the component and then re reinstall after the reinstall, the url and url description was still there. Is there a way to uninstall the component and the components settings? The I can reinstall it fresh and maybe that will fix it.
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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Actions component

Post by scottwilkerson »

the reason there is only 2 fields is because you haven't saved any more... They are added dynamically
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: Actions component

Post by benhank »

thanks. actually we did an apply config and we have all three ffields back. But the bigger issue, which is the settings not saving is still there.
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
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Actions component

Post by lmiltchev »

...the settings not saving is still there...
When you click on a host, member of the "Peabody" hostgroup, do you see the "Action" link under "Quick Actions"?
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: Actions component

Post by benhank »

no
also I am not using the actions url (I tried it today but that also doesn't work)

I am using the actions component and no the link doesn't show up.
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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Actions component

Post by scottwilkerson »

If you are saying the settings aren't saving that sounds like an issue, can you tail the error_log while trying to save

Code: Select all

tail -f /var/log/httpd/error_log
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: Actions component

Post by benhank »

here is what I get in the putty shell:

Code: Select all

[root@LkennagiosP01 ~]# tail -f /var/log/httpd/error_log
[Tue Mar 05 18:38:24 2013] [error] [client 172.22.27.159] PHP Notice:  Undefined index: fieldmap in /usr/local/nagiosxi/html/includes/dbauth.inc.php on line 372, referer: http://172.22.2.123/nagiosxi/includes/components/opscreen/opscreen.php
[Tue Mar 05 18:38:24 2013] [error] [client 172.22.27.159] PHP Warning:  array_key_exists() expects parameter 2 to be array, null given in /usr/local/nagiosxi/html/includes/dbauth.inc.php on line 372, referer: http://172.22.2.123/nagiosxi/includes/components/opscreen/opscreen.php
[Tue Mar 05 18:38:24 2013] [error] [client 172.22.27.159] PHP Notice:  Undefined index: fieldmap in /usr/local/nagiosxi/html/includes/dbauth.inc.php on line 372, referer: http://172.22.2.123/nagiosxi/includes/components/opscreen/opscreen.php
[Tue Mar 05 18:38:24 2013] [error] [client 172.22.27.159] PHP Warning:  array_key_exists() expects parameter 2 to be array, null given in /usr/local/nagiosxi/html/includes/dbauth.inc.php on line 372, referer: http://172.22.2.123/nagiosxi/includes/components/opscreen/opscreen.php
[Tue Mar 05 18:38:24 2013] [error] [client 172.22.27.159] PHP Notice:  Undefined index: fieldmap in /usr/local/nagiosxi/html/includes/dbauth.inc.php on line 372, referer: http://172.22.2.123/nagiosxi/includes/components/opscreen/opscreen.php
[Tue Mar 05 18:38:24 2013] [error] [client 172.22.27.159] PHP Warning:  array_key_exists() expects parameter 2 to be array, null given in /usr/local/nagiosxi/html/includes/dbauth.inc.php on line 372, referer: http://172.22.2.123/nagiosxi/includes/components/opscreen/opscreen.php
[Tue Mar 05 18:38:24 2013] [error] [client 172.22.27.159] PHP Notice:  Undefined index: fieldmap in /usr/local/nagiosxi/html/includes/dbauth.inc.php on line 372, referer: http://172.22.2.123/nagiosxi/includes/components/opscreen/opscreen.php
[Tue Mar 05 18:38:24 2013] [error] [client 172.22.27.159] PHP Warning:  array_key_exists() expects parameter 2 to be array, null given in /usr/local/nagiosxi/html/includes/dbauth.inc.php on line 372, referer: http://172.22.2.123/nagiosxi/includes/components/opscreen/opscreen.php
[Tue Mar 05 18:38:24 2013] [error] [client 172.22.27.159] PHP Notice:  Undefined index: fieldmap in /usr/local/nagiosxi/html/includes/dbauth.inc.php on line 372, referer: http://172.22.2.123/nagiosxi/includes/components/opscreen/opscreen.php
[Tue Mar 05 18:38:24 2013] [error] [client 172.22.27.159] PHP Warning:  array_key_exists() expects parameter 2 to be array, null given in /usr/local/nagiosxi/html/includes/dbauth.inc.php on line 372, referer: http://172.22.2.123/nagiosxi/includes/components/opscreen/opscreen.php
^C
[root@LkennagiosP01 ~]#
but when I looked at my actual error log /var/httpd/error_log it is 100mb (!)
and this line has been repeating ever since sunday:

Code: Select all

Line 223409: [Mon Mar 04 13:25:35 2013] [error] [client 172.26.68.196] PHP Notice:  Undefined variable: enabled in /usr/local/nagiosxi/html/includes/components/actions/actions.inc.php on line 364, referer: http://sherlock/nagiosxi/admin/components.php?config=actions	
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
Locked