Can't add new Dashlet
Can't add new Dashlet
I use the Text Dashlet Enhanced to display some information for the NOC on a dashboard. Every now and then I need to add new text to this dashlet which requires removing the old one and readding the dashlet. Whenever I'm done configuring the dashlet, and I submit it to be added to the Dashboard it says its been added but it never actually shows up on the dashboard itself. I've tried adding it to other dashboard, I've uninstalled the dashlet and reinstalled it. I then upgraded to XI 5.2.7 and the issue still persists even after a full reboot. I can add other dashlets, but not a new Text Dashlet. Got any tips for troubleshooting this?
I like graphs...
Re: Can't add new Dashlet
Is anything showing up in the error logs?
Then try to add the dashlet.
Code: Select all
tail -f /var/log/httpd/error_logFormer Nagios Employee.
me.
me.
Re: Can't add new Dashlet
Tried adding the dashlet, I'm not seeing anything pop up in the httpd log when its added.hsmith wrote:Is anything showing up in the error logs?
Then try to add the dashlet.Code: Select all
tail -f /var/log/httpd/error_log
I like graphs...
Re: Can't add new Dashlet
Are you using SSL? If so, try /var/log/httpd/ssl_error_log
Former Nagios Employee.
me.
me.
Re: Can't add new Dashlet
crap my bad.hsmith wrote:Are you using SSL? If so, try /var/log/httpd/ssl_error_log
Seeing alot of the following.
line 1231 seems to reference line breaks.
Code: Select all
[Wed Apr 06 13:59:27 2016] [error] [client 10.0.3.201] PHP Notice: Undefined index: section-1-2_line_break in /usr/local/nagiosxi/html/includes/dashlets/textenhanced/textenhanced.inc.php on line 1201, referer: https://nagios.redacted.$
[Wed Apr 06 13:59:27 2016] [error] [client 10.0.3.201] PHP Notice: Undefined index: section-2-3_line_break in /usr/local/nagiosxi/html/includes/dashlets/textenhanced/textenhanced.inc.php on line 1231, referer: https://nagios.redacted.$
[Wed Apr 06 13:59:30 2016] [error] [client 10.0.3.201] PHP Notice: Undefined index: section-1-2_line_break in /usr/local/nagiosxi/html/includes/dashlets/textenhanced/textenhanced.inc.php on line 1201, referer: https://nagios.redacted.$
[Wed Apr 06 13:59:30 2016] [error] [client 10.0.3.201] PHP Notice: Undefined index: section-2-3_line_break in /usr/local/nagiosxi/html/includes/dashlets/textenhanced/textenhanced.inc.php on line 1231, referer: https://nagios.redacted.$
[Wed Apr 06 13:59:30 2016] [error] [client 10.0.3.201] PHP Notice: Undefined index: section-1-2_line_break in /usr/local/nagiosxi/html/includes/dashlets/textenhanced/textenhanced.inc.php on line 1201, referer: https://nagios.redacted.$
[Wed Apr 06 13:59:30 2016] [error] [client 10.0.3.201] PHP Notice: Undefined index: section-2-3_line_break in /usr/local/nagiosxi/html/includes/dashlets/textenhanced/textenhanced.inc.php on line 1231, referer: https://nagios.redacted.$
[Wed Apr 06 13:59:34 2016] [error] [client 10.0.3.201] PHP Notice: Undefined index: section-1-2_line_break in /usr/local/nagiosxi/html/includes/dashlets/textenhanced/textenhanced.inc.php on line 1201, referer: https://nagios.redacted.$
[Wed Apr 06 13:59:34 2016] [error] [client 10.0.3.201] PHP Notice: Undefined index: section-2-3_line_break in /usr/local/nagiosxi/html/includes/dashlets/textenhanced/textenhanced.inc.php on line 1231, referer: https://nagios.redacted.$
[Wed Apr 06 13:59:34 2016] [error] [client 10.0.3.201] PHP Notice: Undefined index: section-1-2_line_break in /usr/local/nagiosxi/html/includes/dashlets/textenhanced/textenhanced.inc.php on line 1201, referer: https://nagios.redacted.$
[Wed Apr 06 13:59:34 2016] [error] [client 10.0.3.201] PHP Notice: Undefined index: section-2-3_line_break in /usr/local/nagiosxi/html/includes/dashlets/textenhanced/textenhanced.inc.php on line 1231, referer: https://nagios.redacted.$
[Wed Apr 06 14:07:08 2016] [error] [client 10.0.3.201] PHP Notice: Undefined index: section-1-2_line_break in /usr/local/nagiosxi/html/includes/dashlets/textenhanced/textenhanced.inc.php on line 1201, referer: https://nagios.redacted.$Code: Select all
[Wed Apr 06 14:10:51 2016] [error] [client 10.0.3.201] PHP Notice: Undefined variable: sourcedid in /usr/local/nagiosxi/html/includes/components/deploydashboard/index.php on line 158, referer: https://nagios.redacted.local/nagiosxi/in$
[Wed Apr 06 14:10:51 2016] [error] [client 10.0.3.201] PHP Notice: Undefined variable: sourcedid in /usr/local/nagiosxi/html/includes/components/deploydashboard/index.php on line 158, referer: https://nagios.redacted.local/nagiosxi/in$
[Wed Apr 06 14:10:51 2016] [error] [client 10.0.3.201] PHP Notice: Undefined variable: sourcedid in /usr/local/nagiosxi/html/includes/components/deploydashboard/index.php on line 158, referer: https://nagios.redacted.local/nagiosxi/in$
[Wed Apr 06 14:10:51 2016] [error] [client 10.0.3.201] PHP Notice: Undefined variable: sourcedid in /usr/local/nagiosxi/html/includes/components/deploydashboard/index.php on line 158, referer: https://nagios.redacted.local/nagiosxi/in$
[Wed Apr 06 14:10:51 2016] [error] [client 10.0.3.201] PHP Notice: Undefined variable: sourcedid in /usr/local/nagiosxi/html/includes/components/deploydashboard/index.php on line 158, referer: https://nagios.redacted.local/nagiosxi/in$
[Wed Apr 06 14:10:51 2016] [error] [client 10.0.3.201] PHP Notice: Undefined variable: sourcedid in /usr/local/nagiosxi/html/includes/components/deploydashboard/index.php on line 158, referer: https://nagios.redacted.local/nagiosxi/in$
[Wed Apr 06 14:10:51 2016] [error] [client 10.0.3.201] PHP Notice: Undefined variable: sourcedid in /usr/local/nagiosxi/html/includes/components/deploydashboard/index.php on line 158, referer: https://nagios.redacted.local/nagiosxi/in$
[Wed Apr 06 14:10:51 2016] [error] [client 10.0.3.201] PHP Notice: Undefined variable: sourcedid in /usr/local/nagiosxi/html/includes/components/deploydashboard/index.php on line 158, referer: https://nagios.redacted.local/nagiosxi/in$
[Wed Apr 06 14:10:51 2016] [error] [client 10.0.3.201] PHP Notice: Undefined variable: sourcedid in /usr/local/nagiosxi/html/includes/components/deploydashboard/index.php on line 158, referer: https://nagios.redacted.local/nagiosxi/in$
[Wed Apr 06 14:10:51 2016] [error] [client 10.0.3.201] PHP Notice: Undefined variable: sourcedid in /usr/local/nagiosxi/html/includes/components/deploydashboard/index.php on line 158, referer: https://nagios.redacted.local/nagiosxi/in$
[Wed Apr 06 14:10:51 2016] [error] [client 10.0.3.201] PHP Notice: Undefined variable: sourcedid in /usr/local/nagiosxi/html/includes/components/deploydashboard/index.php on line 158, referer: https://nagios.redacted.local/nagiosxi/in$
[Wed Apr 06 14:10:51 2016] [error] [client 10.0.3.201] PHP Notice: Undefined variable: sourcedid in /usr/local/nagiosxi/html/includes/components/deploydashboard/index.php on line 158, referer: https://nagios.redacted.local/nagiosxi/in$
[Wed Apr 06 14:10:51 2016] [error] [client 10.0.3.201] PHP Notice: Undefined variable: sourcedid in /usr/local/nagiosxi/html/includes/components/deploydashboard/index.php on line 158, referer: https://nagios.redacted.local/nagiosxi/in$
[Wed Apr 06 14:10:51 2016] [error] [client 10.0.3.201] PHP Notice: Undefined variable: sourcedid in /usr/local/nagiosxi/html/includes/components/deploydashboard/index.php on line 158, referer: https://nagios.redacted.local/nagiosxi/in$
[Wed Apr 06 14:10:51 2016] [error] [client 10.0.3.201] PHP Notice: Undefined variable: sourcedid in /usr/local/nagiosxi/html/includes/components/deploydashboard/index.php on line 158, referer: https://nagios.redacted.local/nagiosxi/in$
[Wed Apr 06 14:10:51 2016] [error] [client 10.0.3.201] PHP Notice: Undefined variable: sourcedid in /usr/local/nagiosxi/html/includes/components/deploydashboard/index.php on line 158, referer: https://nagios.redacted.local/nagiosxi/in$
[Wed Apr 06 14:10:51 2016] [error] [client 10.0.3.201] PHP Notice: Undefined variable: sourcedid in /usr/local/nagiosxi/html/includes/components/deploydashboard/index.php on line 158, referer: https://nagios.redacted.local/nagiosxi/in$
[Wed Apr 06 14:10:51 2016] [error] [client 10.0.3.201] PHP Notice: Undefined variable: sourcedid in /usr/local/nagiosxi/html/includes/components/deploydashboard/index.php on line 158, referer: https://nagios.redacted.local/nagiosxi/in$Code: Select all
<b>*ISP Phone Numbers*</b> <BR>
Advanced Cable - 954-753-0100 <BR>
ATT-Uverse - 800-246-8464 <BR>
Beyond Communications - 561-288-9189 <BR>
Brighthouse - Tampa/West Coast - 877-897-7333 <BR>
Brighthouse - Orlando/East Coast - 877-632-2337 <BR>
Century Link - 800-786-6272 <BR>
Comcast - 800-391-3000 <BR>
Comcast Enterprise- 1-800-741-4141 <BR>
Frontier Communications - 800-921-8101 <BR>
Hometown Cable - 772-345-6000 <BR>
Hotwire Communications 800-355-5668 <BR>
Summit Broadband- 239-244-0242 option 2 <BR>
Windstream - 866-445-3194 <BR>
<BR>
<b>*DSL Phone Numbers*</b> <BR>
ATT DSL - 888-288-8339 <BR>
Windstream DSL- 866-445-5880 <BR>
<BR>
<b>*T1 Phone Numbers*</b> <BR>
ATT T1 - 888-613-6330 <BR>
Century Link T1 - 800-603-8044 <BR>
Level3 Communications- 1-877-253-8353 <BR>
T3 Commmunications - 877-333-8127 <BR>
Windstream T1 – 800-600-5050 <BR>
Code: Select all
<b>*ISP Phone Numbers*</b> <BR>Advanced Cable - 954-753-0100 <BR>ATT-Uverse - 800-246-8464 <BR>Beyond Communications - 561-288-9189 <BR>Brighthouse - Tampa/West Coast - 877-897-7333 <BR>Brighthouse - Orlando/East Coast - 877-632-2337 <BR>Century Link - 800-786-6272 <BR>Comcast - 800-391-3000 <BR>Comcast Enterprise- 1-800-741-4141 <BR>Frontier Communications - 800-921-8101 <BR>Hometown Cable - 772-345-6000 <BR>Hotwire Communications 800-355-5668 <BR>Summit Broadband- 239-244-0242 option 2 <BR>Windstream - 866-445-3194 <BR> <BR><b>*DSL Phone Numbers*</b> <BR>ATT DSL - 888-288-8339 <BR>Windstream DSL- 866-445-5880 <BR><BR><b>*T1 Phone Numbers*</b> <BR>ATT T1 - 888-613-6330 <BR>Century Link T1 - 800-603-8044 <BR>Level3 Communications- 1-877-253-8353 <BR>T3 Commmunications - 877-333-8127 <BR>Windstream T1 – 800-600-5050 <BR>
I like graphs...
Re: Can't add new Dashlet
It's because your last entry has a bad dash in it:
Try this:
Try this:
Code: Select all
<b>*ISP Phone Numbers*</b> <BR>
Advanced Cable - 954-753-0100 <BR>
ATT-Uverse - 800-246-8464 <BR>
Beyond Communications - 561-288-9189 <BR>
Brighthouse - Tampa/West Coast - 877-897-7333 <BR>
Brighthouse - Orlando/East Coast - 877-632-2337 <BR>
Century Link - 800-786-6272 <BR>
Comcast - 800-391-3000 <BR>
Comcast Enterprise- 1-800-741-4141 <BR>
Frontier Communications - 800-921-8101 <BR>
Hometown Cable - 772-345-6000 <BR>
Hotwire Communications 800-355-5668 <BR>
Summit Broadband- 239-244-0242 option 2 <BR>
Windstream - 866-445-3194 <BR>
<BR>
<b>*DSL Phone Numbers*</b> <BR>
ATT DSL - 888-288-8339 <BR>
Windstream DSL- 866-445-5880 <BR>
<BR>
<b>*T1 Phone Numbers*</b> <BR>
ATT T1 - 888-613-6330 <BR>
Century Link T1 - 800-603-8044 <BR>
Level3 Communications- 1-877-253-8353 <BR>
T3 Commmunications - 877-333-8127 <BR>
Windstream T1 - 800-600-5050 <BR>Re: Can't add new Dashlet
Thank you! I see the dash now, sneaky little bastid.ssax wrote:It's because your last entry has a bad dash in it:
Try this:
Code: Select all
<b>*ISP Phone Numbers*</b> <BR> Advanced Cable - 954-753-0100 <BR> ATT-Uverse - 800-246-8464 <BR> Beyond Communications - 561-288-9189 <BR> Brighthouse - Tampa/West Coast - 877-897-7333 <BR> Brighthouse - Orlando/East Coast - 877-632-2337 <BR> Century Link - 800-786-6272 <BR> Comcast - 800-391-3000 <BR> Comcast Enterprise- 1-800-741-4141 <BR> Frontier Communications - 800-921-8101 <BR> Hometown Cable - 772-345-6000 <BR> Hotwire Communications 800-355-5668 <BR> Summit Broadband- 239-244-0242 option 2 <BR> Windstream - 866-445-3194 <BR> <BR> <b>*DSL Phone Numbers*</b> <BR> ATT DSL - 888-288-8339 <BR> Windstream DSL- 866-445-5880 <BR> <BR> <b>*T1 Phone Numbers*</b> <BR> ATT T1 - 888-613-6330 <BR> Century Link T1 - 800-603-8044 <BR> Level3 Communications- 1-877-253-8353 <BR> T3 Commmunications - 877-333-8127 <BR> Windstream T1 - 800-600-5050 <BR>
I like graphs...
Re: Can't add new Dashlet
This is what I get for using onenote to keep snipits of code. Lesson learned.
I like graphs...
Re: Can't add new Dashlet
Ah! Notepad for the win 
Are we good to mark this thread as resolved then?
Are we good to mark this thread as resolved then?
Former Nagios Employee