NagVis - Gadget Error's And Other Errors

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
polariser
Posts: 10
Joined: Wed Mar 23, 2016 6:02 pm

NagVis - Gadget Error's And Other Errors

Post by polariser »

I've had some problems with rawOut gadget in NagVis, is there any special reason why this (shown on picture below), would happen? I have noticed it is not only rawOut but all other gadgets as well, i have tried restarting it, Deleting it, Copying it back.. All failed, I don't know what to do next so if you can hep me i would appreciate it!

Thank you in advance!

Edit: Note that this happens in both Edit and Normal mode
You do not have the required permissions to view the files attached to this post.
Last edited by polariser on Fri Aug 04, 2017 5:34 am, edited 1 time in total.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: NagVis - Gadget Error's

Post by cdienger »

Just to clarify, you're trying to troubleshoot the broken image, correct?

What is the output of:

Code: Select all

ll /usr/local/nagvis/share/frontend/nagvis-js/images/internal
There should be at least 27 files in there with ownership set to apache:apache and rights set to 664:

Code: Select all

-rw-rw-r-- 1 apache apache    98 Apr 18  2011 10x10.gif
-rw-rw-r-- 1 apache apache  2135 Apr 18  2011 confirm.png
-rw-rw-r-- 1 apache apache   950 Apr 18  2011 favicon_ack.png
-rw-rw-r-- 1 apache apache  1427 Apr 18  2011 favicon_critical.png
-rw-rw-r-- 1 apache apache  1427 Apr 18  2011 favicon_down.png
-rw-rw-r-- 1 apache apache   940 Apr 18  2011 favicon_downtime.png
-rw-rw-r-- 1 apache apache  1618 Apr 18  2011 favicon_error.png
-rw-rw-r-- 1 apache apache  1618 Apr 18  2011 favicon_ok.png
-rw-rw-r-- 1 apache apache  1271 Apr 18  2011 favicon.png
-rw-rw-r-- 1 apache apache   941 Apr 18  2011 favicon_unknown.png
-rw-rw-r-- 1 apache apache  1618 Apr 18  2011 favicon_up.png
-rw-rw-r-- 1 apache apache  1617 Apr 18  2011 favicon_warning.png
-rw-rw-r-- 1 apache apache  2162 Apr 18  2011 info.png
-rw-rw-r-- 1 apache apache  2942 Apr 18  2011 loading.gif
-rw-rw-r-- 1 apache apache  6168 Apr 18  2011 logo_96x25.png
-rw-rw-r-- 1 apache apache 10427 Apr 18  2011 logo.png
-rw-rw-r-- 1 apache apache  2017 Apr 18  2011 msg_critical.png
-rw-rw-r-- 1 apache apache  2017 Apr 18  2011 msg_down.png
-rw-rw-r-- 1 apache apache  1955 Apr 18  2011 msg_error.png
-rw-rw-r-- 1 apache apache  2203 Apr 18  2011 msg_note.png
-rw-rw-r-- 1 apache apache  1129 Apr 18  2011 msg_ok.png
-rw-rw-r-- 1 apache apache  1732 Apr 18  2011 msg_permission.png
-rw-rw-r-- 1 apache apache  2123 Apr 18  2011 msg_unknown.png
-rw-rw-r-- 1 apache apache  2123 Apr 18  2011 msg_unreachable.png
-rw-rw-r-- 1 apache apache  1129 Apr 18  2011 msg_up.png
-rw-rw-r-- 1 apache apache  1692 Apr 18  2011 msg_warning.png
-rw-rw-r-- 1 apache apache  1422 Apr 18  2011 warning.png
Files attached and you can run:

Code: Select all

chown apache:apache /usr/local/nagvis/share/frontend/nagvis-js/images/internal/*
chmod 755 /usr/local/nagvis/share/frontend/nagvis-js/images/internal/*
if needed.
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
polariser
Posts: 10
Joined: Wed Mar 23, 2016 6:02 pm

Re: NagVis - Gadget Error's

Post by polariser »

Hey there, thank's for your reply and i would like to mention that what you have sent me hasn't fixed my issue since the icon's are working but the gadgets aren't, this issue has appeared a few days ago..
As you could've seen on the left the icon, that icon is normal.. I'm using rawOut gadget that can be found here:

https://exchange.nagvis.org/exchange/Gadgets/rawOut/

If you look at the picture down below on the webpage shown above, you can see what i'm trying to do here..
It has worked before but it has stopped working for unknown reason..

Note: "All of my gadgets aren't working so i believe it is NagVis problem, would it be possible?"

Is there anyway i could reinstall NagVis gadgets / plugins, or even reinstall whole NagVis?
Or even better, could i do the same thing as this gadget with any other option already available in normal NagVis without any additional modifications?

I have also noticed another problem that i do not know what is causing it...
Notice: Undefined index: active in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/form_header.php on line 78
Warning: explode() expects parameter 2 to be string, array given in /usr/local/nagiosxi/html/includes/utils-macros.inc.php on line 33 Warning: Invalid argument supplied for foreach() in /usr/local/nagiosxi/html/includes/utils-macros.inc.php on line 34
Notice: Undefined index: hosts_tploptions in /usr/local/nagiosxi/html/includes/components/ccm/includes/hidden_overlay_functions.inc.php on line 166 Notice: Undefined index: hosts_tploptions in /usr/local/nagiosxi/html/includes/components/ccm/includes/hidden_overlay_functions.inc.php on line 169 Notice: Undefined index: hosts_tploptions in /usr/local/nagiosxi/html/includes/components/ccm/includes/hidden_overlay_functions.inc.php on line 172 Notice: Undefined index: hostgroups_tploptions in /usr/local/nagiosxi/html/includes/components/ccm/includes/hidden_overlay_functions.inc.php on line 166 Notice: Undefined index: hostgroups_tploptions in /usr/local/nagiosxi/html/includes/components/ccm/includes/hidden_overlay_functions.inc.php on line 169 Notice: Undefined index: hostgroups_tploptions in /usr/local/nagiosxi/html/includes/components/ccm/includes/hidden_overlay_functions.inc.php on line 172 Notice: Undefined index: servicegroups_tploptions in /usr/local/nagiosxi/html/includes/components/ccm/includes/hidden_overlay_functions.inc.php on line 166 Notice: Undefined index: servicegroups_tploptions in /usr/local/nagiosxi/html/includes/components/ccm/includes/hidden_overlay_functions.inc.php on line 169 Notice: Undefined index: servicegroups_tploptions in /usr/local/nagiosxi/html/includes/components/ccm/includes/hidden_overlay_functions.inc.php on line 172 Notice: Undefined index: contactgroups_tploptions in /usr/local/nagiosxi/html/includes/components/ccm/includes/hidden_overlay_functions.inc.php on line 166 Notice: Undefined index: contactgroups_tploptions in /usr/local/nagiosxi/html/includes/components/ccm/includes/hidden_overlay_functions.inc.php on line 169 Notice: Undefined index: contactgroups_tploptions in /usr/local/nagiosxi/html/includes/components/ccm/includes/hidden_overlay_functions.inc.php on line 172 Notice: Undefined index: contacts_tploptions in /usr/local/nagiosxi/html/includes/components/ccm/includes/hidden_overlay_functions.inc.php on line 166 Notice: Undefined index: contacts_tploptions in /usr/local/nagiosxi/html/includes/components/ccm/includes/hidden_overlay_functions.inc.php on line 169 Notice: Undefined index: contacts_tploptions in /usr/local/nagiosxi/html/includes/components/ccm/includes/hidden_overlay_functions.inc.php on line 172
These 3 errors prevent me to create any hosts or services
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: NagVis - Gadget Error's And Other Errors

Post by ssax »

Please create another forum topic for your other support issue.

For the Nagvis issue, please send us a copy of the map in questions from /usr/local/nagvis/etc/maps so that we can see how it's setup.


Thank you
polariser
Posts: 10
Joined: Wed Mar 23, 2016 6:02 pm

Re: NagVis - Gadget Error's And Other Errors

Post by polariser »

There you go all maps inside
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: NagVis - Gadget Error's And Other Errors

Post by ssax »

The only map file in the archive you sent doesn't contain any gadgets, can you send the map from the screenshot so that I can see how you have it configured?

Thank you
polariser
Posts: 10
Joined: Wed Mar 23, 2016 6:02 pm

Re: NagVis - Gadget Error's And Other Errors

Post by polariser »

ssax wrote:The only map file in the archive you sent doesn't contain any gadgets, can you send the map from the screenshot so that I can see how you have it configured?

Thank you
It seems problem fixed it self for now.. Tough i don't know what it was, i hope it will work for now
bolson

Re: NagVis - Gadget Error's And Other Errors

Post by bolson »

May we close this topic?
Locked