Cacti / plugin_monitor

Monitor Plugin for Cacti
GNU General Public License v2.0
36 stars 39 forks source link

Feature: Extra Large Size in Monitor #88

Closed KnoAll closed 5 years ago

KnoAll commented 5 years ago

It would be great to have an Extra Large size in the monitor view. We have this up on 4k screens and large is actually a bit small.

netniV commented 5 years ago

Could you send some my way so I can properly test this out for you ?

KnoAll commented 5 years ago

How do you mean? A screenshot, or?

netniV commented 5 years ago

I was joking about having the same display ;)

KnoAll commented 5 years ago

ooooh, sorry! yea, i'll drop something in the mail today!

cigamit commented 5 years ago

So, please ship a nice monitor to Texas too ;)

KnoAll commented 5 years ago

after doing a pull the plugin is crashing with error 500.

KnoAll commented 5 years ago

image

netniV commented 5 years ago

What error is in you logs?

KnoAll commented 5 years ago

Sorry, should have looked/sent that originally....

2019/02/20 15:32:35 - CMDPHP ERRORS DETECTED - DISABLING PLUGIN 'monitor'

2019/02/20 15:32:35 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler()) 2019/02/20 15:32:35 - ERROR PHP ERROR in Plugin 'monitor': Uncaught Error: Call to undefined function get_uptime() in /var/www/html/cacti/plugins/monitor/monitor.php:1365 Stack trace: #0 /var/www/html/cacti/plugins/monitor/monitor.php(865): render_host(Array, true, 12) #1 /var/www/html/cacti/plugins/monitor/monitor.php(157): render_default() #2 /var/www/html/cacti/plugins/monitor/monitor.php(131): draw_page() #3 {main} thrown in file: /var/www/html/cacti/plugins/monitor/monitor.php on line: 1365

netniV commented 5 years ago

Ah, you need to update to the latest 1.2.2 develop branch of cacti's core. Monitor is relying on that functionality.

KnoAll commented 5 years ago

ah yes, there we go. looks great, thanks!