Announcement

Collapse
No announcement yet.

Nagvis ERROR

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Nagvis ERROR

    Hi there!

    Please guys, I need a little help here...

    Im using a CENTREON server for monitoring and a NAGVIS 1.8.5 version system for generate the topology maps. The problems is that when I have a client down, the NAGVIS doesn't generate the topology map, instead appears an PHP error box:



    https://postimg.org/image/7b7mysde5/

    After the client back to work, the NAGVIS topoloty is generated. I think it isn't working well, because even with the client down, the topology should being generated.

    So, can you help me to solve this question guys?


    LOGS:


    When the client is DOWN:


    [Sun Oct 23 20:49:47 2016] [error] [client XXX] PHP Notice: Undefined index: autoRefresh in /usr/share/centreon/www/widgets/tactical-overview/src/hosts_status.php on line 89, referer: http://XXX/centreon/main.php?
    [Mon Oct 24 04:30:22 2016] [warn] [client XXX] incomplete redirection target of '/centreon/index.php' for URI '/' modified to 'http://XXX/centreon/index.php'
    [Mon Oct 24 05:59:42 2016] [error] [client XXX] PHP Notice: Undefined index: autoRefresh in /usr/share/centreon/www/widgets/tactical-overview/src/hosts_status.php on line 89, referer: http://XXX/centreon/main.php?
    [Mon Oct 24 07:51:50 2016] [error] [client XXX] File does not exist: /var/www/html/sandbox
    [Mon Oct 24 10:02:10 2016] [error] [client XXX] PHP Notice: A session had already been started - ignoring session_start() in /usr/share/centreon/www/include/configuration/configGenerate/xml/generateFiles.php on line 75, referer: http://XXX/centreon/main.php?p=60902&poller=
    [Mon Oct 24 10:02:15 2016] [error] [client XXX] PHP Notice: A session had already been started - ignoring session_start() in /usr/share/centreon/www/include/configuration/configGenerate/xml/generateFiles.php on line 75, referer: http://XXX/centreon/main.php?p=60902&poller=
    [Mon Oct 24 10:02:17 2016] [error] [client XXX] PHP Notice: A session had already been started - ignoring session_start() in /usr/share/centreon/www/include/configuration/configGenerate/xml/moveFiles.php on line 109, referer: http://XXX/centreon/main.php?p=60902&poller=
    [Mon Oct 24 10:10:50 2016] [error] [client XXX] PHP Notice: A session had already been started - ignoring session_start() in /usr/share/centreon/www/include/configuration/configGenerate/xml/generateFiles.php on line 75, referer: http://XXX/centreon/main.php?p=60902&poller=
    [Mon Oct 24 10:10:54 2016] [error] [client XXX] PHP Notice: A session had already been started - ignoring session_start() in /usr/share/centreon/www/include/configuration/configGenerate/xml/generateFiles.php on line 75, referer: http://XXX/centreon/main.php?p=60902&poller=
    [Mon Oct 24 10:10:55 2016] [error] [client XXX] PHP Notice: A session had already been started - ignoring session_start() in /usr/share/centreon/www/include/configuration/configGenerate/xml/moveFiles.php on line 109, referer: http://XXX/centreon/main.php?p=60902&poller=



    When the client is WORKING:



    XXX - - [24/Oct/2016:10:23:54 -0300] "GET /centreon/Themes/Centreon-2/Color/blue_css.php HTTP/1.1" 200 4502 "http://XXX/centreon/widgets/host-monitoring/index.php?widgetId=37&customViewId=5" "Mozilla/5.0 (Windows NT 5.2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.272 Safari/537.36"
    XXX - - [24/Oct/2016:10:23:54 -0300] "GET /centreon/include/monitoring/status/Services/xml/serviceXML.php?&search=&search_host=ancar&search_o utput=&num=0&limit=30&sort_type=host_name&order=AS C&date_time_format_status=d/m/Y%20H:i&o=svc&p=202&host_name=&nc=0&criticality=0&stat usS ervice=svc&statusFilter=&sSetOrderInMemory=1 HTTP/1.1" 200 51064 "https:///centreon/main.php?p=202" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36"
    XXX - - [24/Oct/2016:10:23:54 -0300] "GET /centreon/include/common/javascript/autologoutXMLresponse.php HTTP/1.1" 200 125 "http://XXX/centreon/main.php?p=103" "Mozilla/5.0 (Windows NT 5.2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.272 Safari/537.36"
    XXX - - [24/Oct/2016:10:23:54 -0300] "GET /centreon/include/common/javascript/autologoutXMLresponse.php HTTP/1.1" 200 125 "http://XXX/centreon/main.php?" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36"
    XXX- - [24/Oct/2016:10:23:56 -0300] "GET /centreon/widgets/graph-monitoring/src/generateGraph.php?service=105-1034&tp=10800&time=1477079120&width=1296&user=103 HTTP/1.1" 200 27716 "https:///centreon/widgets/graph-monitoring/index.php?widgetId=78&customViewId=38" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36"
    1XXX - - [24/Oct/2016:10:23:56 -0300] "GET /centreon/widgets/graph-monitoring/src/generateGraph.php?service=105-1632&tp=10800&time=1477079120&width=1296&user=103 HTTP/1.1" 200 28234 "https:///centreon/widgets/graph-monitoring/index.php?widgetId=66&customViewId=38" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36"
    XXX - - [24/Oct/2016:10:23:56 -0300] "GET /centreon/widgets/graph-monitoring/src/generateGraph.php?service=174-1059&tp=21600&time=1477079120&width=1296&user=103 HTTP/1.1" 200 30594 "https://centreon/widgets/graph-monitoring/index.php?widgetId=81&customViewId=38" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36"
    XXX - - [24/Oct/2016:10:23:56 -0300] "GET /centreon/include/monitoring/status/Notifications/broker/notifications.php?sid=9rp4grpj7un7ukbf3l9c9b8qi3&r efresh_rate=15000 HTTP/1.1" 200 47 "http://XXX/centreon/main.php?p=103" "Mozilla/5.0 (Windows NT 5.2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.272 Safari/537.36"
    XXX - - [24/Oct/2016:10:23:56 -0300] "POST /centreon/include/monitoring/status/TopCounter/xml/statusCounter.php HTTP/1.1" 200 736 "http://XXX/centreon/main.php?p=103" "Mozilla/5.0 (Windows NT 5.2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.272 Safari/537.36"
    XXX - - [24/Oct/2016:10:23:56 -0300] "GET /centreon/include/monitoring/status/Services/xml/serviceXML.php?&search=&search_host=&search_output =&num=0&limit=30&sort_type=host_name&order=ASC&d at e_time_format_status=d/m/Y%20H:i&o=svc&p=202&host_name=&nc=0&criticality=0&stat usS ervice=svc&statusFilter=&sSetOrderInMemory=0 HTTP/1.1" 200 50587 "http://XXX/centreon/main.php?p=202&o=svc&statusService=svc&statusFilte r=&host_search=&search=&hostgroups=0&output_searc h =&o1=0&p=202&l=30&checkall=on&select%5BFA100C-GRUPOFERNANDESVIEIRA%3BConsumo%2BCPU%5D=1&select%5 BFA100C-GRUPOFERNANDESVIEIRA%3BConsumo%2Bde%2BMemoria%5D=1 &select%5BFA100C-GRUPOFERNANDESVIEIRA%3BTempo%2Bde%2BAtividade%5D=1 &select%5BFA100C-GRUPOFERNANDESVIEIRA%3BUtiliza%25C3%25A7%25C3%25A3 o%2Bde%2BDisco%5D=1&select%5BFG310B_GFV-HOSPITALSAOJOSE_HA1%3BConsumo%2Bde%2BCPU%5D=1&sele ct%5BFG310B_GFV-HOSPITALSAOJOSE_HA1%3BConsumo%2Bde%2BMemoria%5D=1& select%5BFG310B_GFV-HOSPITALSAOJOSE_HA1%3Bgfv_matriz_DMZ_Inpart%5D=1&s elect%5BFG310B_GFV-HOSPITALSAOJOSE_HA1%3Bgfv_matriz_LAN_LAG%5D=1&sele ct%5BFG310B_GFV-HOSPITALSAOJOSE_HA1%3Bgfv_matriz_LINK_GVT_50M%5D=1 &select%5BFG310B_GFV-HOSPITALSAOJOSE_HA1%3Bgfv_matriz_LINK_OI%5D=1&sele ct%5BFG310B_GFV-HOSPITALSAOJOSE_HA1%3Bgfv_matriz_Ping-LINK-GVT10MB%5D=1&select%5BFG310B_GFV-HOSPITALSAOJOSE_HA1%3Bgfv_matriz_Ping-LINK_OI%5D=1&select%5BFG310B_GFV-HOSPITALSAOJOSE_HA1%3Bgfv_matriz_PORTA_HA%5D=1&sel ect%5BFG310B_GFV-HOSPITALSAOJOSE_HA1%3Bgfv_matriz_VLAN202%5D=1&sele ct%5BFG310B_GFV-HOSPITALSAOJOSE_HA1%3Bgfv_matriz_VLAN211%5D=1&sele ct%5BFG310B_GFV-HOSPITALSAOJOSE_HA1%3Bgfv_matriz_VLAN_Medialiance% 5D=1&select%5BFG310B_GFV-HOSPITALSAOJOSE_HA1%3BLink%2BGVT-10M%5D=1&select%5BFG310B_GFV-HOSPITALSAOJOSE_HA1%3BTempo%2Bde%2BAtividade%5D=1& select%5BFG310B_GFV-HOSPITALSAOJOSE_HA2%3BConsumo%2Bde%2BCPU%5D=1&sele ct%5BFG310B_GFV-HOSPITALSAOJOSE_HA2%3BConsumo%2Bde%2BMemoria%5D=1& select%5BFG310B_GFV-HOSPITALSAOJOSE_HA2%3Bgfv_matriz_DMZ_Inpart%5D=1&s elect%5BFG310B_GFV-HOSPITALSAOJOSE_HA2%3Bgfv_matriz_LAN_LAG%5D=1&sele ct%5BFG310B_GFV-HOSPITALSAOJOSE_HA2%3Bgfv_matriz_LINK_GVT_10M%5D=1 &select%5BFG310B_GFV-HOSPITALSAOJOSE_HA2%3Bgfv_matriz_LINK_GVT_50M%5D=1 &select%5BFG310B_GFV-HOSPITALSAOJOSE_HA2%3Bgfv_matriz_LINK_OI%5D=1&sele ct%5BFG310B_GFV-HOSPITALSAOJOSE_HA2%3Bgfv_matriz_Ping-LINK-GVT10MB%5D=1&select%5BFG310B_GFV-HOSPITALSAOJOSE_HA2%3Bgfv_matriz_Ping-LINK_OI%5D=1&select%5BFG310B_GFV-HOSPITALSAOJOSE_HA2%3Bgfv_matriz_PORTA_HA%5D=1&sel ect%5BFG310B_GFV-HOSPITALSAOJOSE_HA2%3Bgfv_matriz_VLAN202%5D=1&sele ct%5BFG310B_GFV-HOSPITALSAOJOSE_HA2%3Bgfv_matriz_VLAN211%5D=1&o2=0 &p=202&l=30&cmd=4&o=&limit=30&centreon_token=fd a75 823602fb18fa3a76fc8d0f25254" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36"
    Last edited by dalves; 9th January 2017, 23:15.

  • #2
    Might be an issue with the Nagvis version / Nagvis backend for Centreon version. If you haven't figured it out already you might want to check if those are ok and match. If possible i'd try to update Nagvis if i was you. I had to build a test setup using Centreon 2.6.4 and Nagvis and had some problems that only went away after switching to the version that was newest when i was working on it, Nagvis 1.9c.

    Comment

    Working...
    X