Actions component
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Actions component
While somewhat weird can you try installing this modified component
You do not have the required permissions to view the files attached to this post.
Re: Actions component
no good
ant this is what I get when I run the command:
I hit enter on the tail command, that immediately pops up. then I save my actions settings. and no new info is displayed.
then I save my actions settings and then run the command and that's all I get.
ant this is what I get when I run the command:
Code: Select all
[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
then I save my actions settings and then run the command and that's all I get.
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
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
This is an error from yesterday... And is about opscreen, not the actions component
Re: Actions component
that's the crazy thing I don't get any errors for actions.
scott is there a way to uninstall the component and clear wherever it saves its configuration? that way I can reinstall it "clean" maybe that will do it, the file coulda got corrupt or something.
scott is there a way to uninstall the component and clear wherever it saves its configuration? that way I can reinstall it "clean" maybe that will do it, the file coulda got corrupt or something.
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
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
yes.
Remove the action component from Admin -> Manage Components (red X)
then run this from the command line
Finally, you can reinstall the component
Remove the action component from Admin -> Manage Components (red X)
then run this from the command line
Code: Select all
echo "delete from xi_options where name ='actions_component_options';"|psql nagiosxi nagiosxiRe: Actions component
my server is haunted man...
Code: Select all
[root@LkennagiosP01 ~]# echo "delete from xi_options where name ='actions_component_options';"|psql nagiosxi nagiosxi
psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
[root@LkennagiosP01 ~]#
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
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
Re: Actions component
Scott I dont know if it makes a difference, but when I save the settings without designating anything, then the change is applied globally. it's only when I try to select something and save that it fails.
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
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
Is postgresql running?benhank wrote:my server is haunted man...
Code: Select all
[root@LkennagiosP01 ~]# echo "delete from xi_options where name ='actions_component_options';"|psql nagiosxi nagiosxi psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/tmp/.s.PGSQL.5432"? [root@LkennagiosP01 ~]#
Code: Select all
service postgresql statusCode: Select all
tail /var/lib/pgsql/data/pg_logRe: Actions component
Code: Select all
[root@LkennagiosP01 ~]# tail /var/lib/pgsql/data/pg_log
tail: error reading `/var/lib/pgsql/data/pg_log': Is a directory
[root@LkennagiosP01 ~]#
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
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
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Actions component
ok, lets go for the logs denoted by day of the week. Since today is thurs, /var/lib/pgsql/data/pg_log/postgresql-Thu.log. If you have not used it today, choose another day when you have.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.