Page 4 of 5
Re: Actions component
Posted: Mon Mar 11, 2013 12:02 pm
by benhank
The actions URL does not work for single hosts.
The Actions component does not work for single hosts either. Since the Actions component only allows for 3 actions, I would prefer to just work on the actions URL, because it has way more flexibility. So, forgetabout the Actions component and let's get the Actions URL working =D
Re: Actions component
Posted: Mon Mar 11, 2013 12:04 pm
by benhank
out to kill me eh? ok here I go, but let it be known you a bad man abrist...
Re: Actions component
Posted: Mon Mar 11, 2013 12:11 pm
by benhank
No, not working in IE iether.
Re: Actions component
Posted: Mon Mar 11, 2013 1:00 pm
by abrist
Hmmm. Both of the components work fine over here (just not hostgroup action urls).
Do you get any errors in /var/log/httpd/error_log when you click one of those links?
Re: Actions component
Posted: Mon Mar 11, 2013 1:05 pm
by benhank
Code: Select all
[root@LkennagiosP01 ~]# /var/log/httpd/error_log
-bash: /var/log/httpd/error_log: Permission denied
[root@LkennagiosP01 ~]#
Re: Actions component
Posted: Mon Mar 11, 2013 1:06 pm
by scottwilkerson
benhank wrote:The Actions component does not work for single hosts either. Since the Actions component only allows for 3 actions
Both statements not true... When you configure a host what are you putting in the field for Host: ?
as for the component only allowing 3 actions, this also isn't true, it just won't add more than 3 if you do not have them enabled...
benhank wrote:Code: Select all
[root@LkennagiosP01 ~]# /var/log/httpd/error_log
-bash: /var/log/httpd/error_log: Permission denied
[root@LkennagiosP01 ~]#
try
Re: Actions component
Posted: Mon Mar 11, 2013 1:09 pm
by benhank
Code: Select all
[Mon Mar 11 14:08:42 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
is all I get
Re: Actions component
Posted: Mon Mar 11, 2013 2:56 pm
by abrist
hmmmm. Nothing there (it is just a warning pertaining to the opscreen component)
Do me a favor and try to run the vacuum commands from the following link to make sure the postgres database is a-ok:
http://support.nagios.com/wiki/index.ph ... .22_in_log
Re: Actions component
Posted: Mon Mar 11, 2013 3:07 pm
by benhank
Code: Select all
[root@LkennagiosP01 ~]# psql nagiosxi nagiosxi
psql (8.4.12)
Type "help" for help.
nagiosxi=> VACUUM;
WARNING: skipping "pg_authid" --- only superuser can vacuum it
WARNING: skipping "pg_database" --- only superuser can vacuum it
WARNING: skipping "pg_tablespace" --- only superuser can vacuum it
WARNING: skipping "pg_pltemplate" --- only superuser can vacuum it
WARNING: skipping "pg_shdepend" --- only superuser can vacuum it
WARNING: skipping "pg_shdescription" --- only superuser can vacuum it
WARNING: skipping "pg_auth_members" --- only superuser can vacuum it
VACUUM
nagiosxi=> VACUUM ANALYZE;
WARNING: skipping "pg_authid" --- only superuser can vacuum it
WARNING: skipping "pg_database" --- only superuser can vacuum it
WARNING: skipping "pg_tablespace" --- only superuser can vacuum it
WARNING: skipping "pg_pltemplate" --- only superuser can vacuum it
WARNING: skipping "pg_shdepend" --- only superuser can vacuum it
WARNING: skipping "pg_shdescription" --- only superuser can vacuum it
WARNING: skipping "pg_auth_members" --- only superuser can vacuum it
VACUUM
nagiosxi=> VACUUM FULL;
WARNING: skipping "pg_authid" --- only superuser can vacuum it
WARNING: skipping "pg_database" --- only superuser can vacuum it
WARNING: skipping "pg_tablespace" --- only superuser can vacuum it
WARNING: skipping "pg_pltemplate" --- only superuser can vacuum it
WARNING: skipping "pg_shdepend" --- only superuser can vacuum it
WARNING: skipping "pg_shdescription" --- only superuser can vacuum it
WARNING: skipping "pg_auth_members" --- only superuser can vacuum it
VACUUM
nagiosxi=> \q
[root@LkennagiosP01 ~]# psql postgres postgres
psql (8.4.12)
Type "help" for help.
postgres=# VACUUM;
VACUUM
postgres=# VACUUM ANALYZE;
VACUUM
postgres=# VACUUM FULL;
VACUUM
postgres=# \q
[root@LkennagiosP01 ~]# tail -f /var/log/httpd/error_log [Mon Mar 11 16:05:27 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
Re: Actions component
Posted: Mon Mar 11, 2013 3:22 pm
by abrist
No change in the actions behavior I presume good sir?