Operations Center not displaying information.
Re: Operations Center not displaying information.
I tried four(4) different accounts on the Fusion server, same result. Both Tactical Overview and Summary display the data, Operations Center and aforementioned Dashlets do not..
SELINUX=disabled
SELINUX=disabled
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
Nagios Fusion 2024R1.0.2
Re: Operations Center not displaying information.
Run the following commands, and show the output:
Code: Select all
ll /usr/local/nagiosfusion/html/includes/components/nocscreen
tail /usr/local/nagiosfusion/var/components/noc.log
tail /var/log/cronBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Operations Center not displaying information.
Code: Select all
# ll /usr/local/nagiosfusion/html/includes/components/nocscreen
total 92
-rwxr-xr-x 1 nagios users 22882 Oct 30 16:20 host.png
-rwxr-xr-x 1 nagios users 84 Oct 30 16:20 install.sh
-rwxr-xr-x 1 nagios users 5748 Oct 30 16:20 nocfetch.php
-rwxr-xr-x 1 nagios users 3501 Oct 30 16:20 noc.php
-rwxr-xr-x 1 nagios users 17966 Oct 30 16:20 nocscreen.inc.php
-rwxr-xr-x 1 nagios users 18457 Oct 30 16:20 service.png
-rwxr-xr-x 1 nagios users 8755 Oct 30 16:20 summary.pngCode: Select all
# tail /usr/local/nagiosfusion/var/components/noc.log
Network Applications:NOC Service Data retrieved in 0.2274 seconds.
0 unhandled problems saved to DB
Development Environment: NOC Host Data retrieved in 0.1258 seconds.
1 unhandled problems saved to DB
Development Environment:NOC Service Data retrieved in 0.1582 seconds.
SQL: INSERT INTO fusion_noc
(server_sid,type,host,service,status_update_time,status,output)
VALUES ('chgjdf',1,'bladecentre1.nagios','SNMP Traps','2013-01-23 15:35:41','1','System Alert: Remote Login Date(m/d/y)=01/18/13, Time(h:m:s)=16:31:07 BladeCenter Advanced Management Module BladeCenter1 39E15E44A02E47CC8E51D1C640367B4D YK14817AN1B9 30 4 Remote logoff successful for user 'user1' from Web at IP xxx.xxx.xxx Int') SQL Error [nagiosfusion] :</b> ERROR: value too long for type character varying(255) SQL: INSERT INTO fusion_noc
(server_sid,type,host,service,status_update_time,status,output)
VALUES ('chgjdf',1,'bladecentre2.nagios','SNMP Traps','2013-01-23 15:35:41','1','System Alert: Remote Login Date(m/d/y)=12/14/12, Time(h:m:s)=16:26:39 BladeCenter Advanced Management Module BladeCenter2 4D3DC8382288445E8EC76D746838C2E1 YK14817AN27B 30 4 Remote logoff successful for user 'user2' from Web at IP xxx.xxx.xxx Internet') SQL Error [nagiosfusion] :</b> ERROR: value too long for type character varying(255)30 unhandled problems saved to DBCode: Select all
# tail /var/log/cron
Oct 31 16:01:01 monitor run-parts(/etc/cron.hourly)[15363]: finished 0anacron
Oct 31 16:02:01 monitor CROND[15544]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosfusion/cron/cmdsubsys.php > /usr/local/nagiosfusion/var/cmdsubsys.log 2>&1)
Oct 31 16:02:01 monitor CROND[15543]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosfusion/cron/eventman.php > /usr/local/nagiosfusion/var/eventman.log 2>&1)
Oct 31 16:02:01 monitor CROND[15545]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosfusion/cron/sysstat.php > /usr/local/nagiosfusion/var/sysstat.log 2>&1)
Oct 31 16:03:01 monitor CROND[15731]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosfusion/cron/sysstat.php > /usr/local/nagiosfusion/var/sysstat.log 2>&1)
Oct 31 16:03:01 monitor CROND[15732]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosfusion/cron/cmdsubsys.php > /usr/local/nagiosfusion/var/cmdsubsys.log 2>&1)
Oct 31 16:03:01 monitor CROND[15733]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosfusion/cron/eventman.php > /usr/local/nagiosfusion/var/eventman.log 2>&1)
Oct 31 16:04:01 monitor CROND[15948]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosfusion/cron/cmdsubsys.php > /usr/local/nagiosfusion/var/cmdsubsys.log 2>&1)
Oct 31 16:04:01 monitor CROND[15949]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosfusion/cron/eventman.php > /usr/local/nagiosfusion/var/eventman.log 2>&1)
Oct 31 16:04:01 monitor CROND[15952]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosfusion/cron/sysstat.php > /usr/local/nagiosfusion/var/sysstat.log 2>&1)
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
Nagios Fusion 2024R1.0.2
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Operations Center not displaying information.
Lets run the following to increase the column size:
This will increase the size to 2000 from 255
Code: Select all
psql nagiosfusion nagiosfusion
ALTER TABLE fusion_noc ALTER COLUMN output TYPE character varying(2000);
\qRe: Operations Center not displaying information.
Ran, results were the same.scottwilkerson wrote:Lets run the following to increase the column size:This will increase the size to 2000 from 255Code: Select all
psql nagiosfusion nagiosfusion ALTER TABLE fusion_noc ALTER COLUMN output TYPE character varying(2000); \q
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
Nagios Fusion 2024R1.0.2
Re: Operations Center not displaying information.
Strange - this was the only error in the log... Can you run again the same command and see if any new errors showed up in the log?
Code: Select all
tail /usr/local/nagiosfusion/var/components/noc.logBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Operations Center not displaying information.
Code: Select all
]# tail /usr/local/nagiosfusion/var/components/noc.log
Network Applications:NOC Service Data retrieved in 0.2274 seconds.
0 unhandled problems saved to DB
Development Environment: NOC Host Data retrieved in 0.1258 seconds.
1 unhandled problems saved to DB
Development Environment:NOC Service Data retrieved in 0.1582 seconds.
SQL: INSERT INTO fusion_noc
(server_sid,type,host,service,status_update_time,status,output)
VALUES ('chgjdf',1,'bladecentre1.nagios','SNMP Traps','2013-01-23 15:35:41','1','System Alert: Remote Login Date(m/d/y)=01/18/13, Time(h:m:s)=16:31:07 BladeCenter Advanced Management Module BladeCenter1 39E15E44A02E47CC8E51D1C640367B4D YK14817AN1B9 30 4 Remote logoff successful for user 'user1' from Web at IP xxx.xxx.xxx Int') SQL Error [nagiosfusion] :</b> ERROR: value too long for type character varying(255) SQL: INSERT INTO fusion_noc
(server_sid,type,host,service,status_update_time,status,output)
VALUES ('chgjdf',1,'bladecentre2.nagios','SNMP Traps','2013-01-23 15:35:41','1','System Alert: Remote Login Date(m/d/y)=12/14/12, Time(h:m:s)=16:26:39 BladeCenter Advanced Management Module BladeCenter2 4D3DC8382288445E8EC76D746838C2E1 YK14817AN27B 30 4 Remote logoff successful for user 'user2' from Web at IP xxx.xxx.xxx Internet') SQL Error [nagiosfusion] :</b> ERROR: value too long for type character varying(255)30 unhandled problems saved to DB
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
Nagios Fusion 2024R1.0.2
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Operations Center not displaying information.
TBT wrote:Ran, results were the same.scottwilkerson wrote:Lets run the following to increase the column size:This will increase the size to 2000 from 255Code: Select all
psql nagiosfusion nagiosfusion ALTER TABLE fusion_noc ALTER COLUMN output TYPE character varying(2000); \q
When you ran the above did you get an error?
Can you run the following and display the results, because it doesn't appear that the column changed size
Code: Select all
psql nagiosfusion nagiosfusion
\d+ fusion_nocCode: Select all
...
output | character varying(255) | | extended |
...
Code: Select all
ALTER TABLE fusion_noc ALTER COLUMN output TYPE character varying(2000);Re: Operations Center not displaying information.
It was successful and returned:
Confirmed to be 2000, shown below:
Code: Select all
ALTER TABLECode: Select all
output | character varying(2000) | | extended |Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
Nagios Fusion 2024R1.0.2
Re: Operations Center not displaying information.
Is it working now?
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.