Real Time Graphics - HTML5 and GAUGES

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Cristhian_Plaza
Posts: 62
Joined: Thu Oct 27, 2016 2:43 pm

Real Time Graphics - HTML5 and GAUGES

Post by Cristhian_Plaza »

Hi I'm back, vacations was long.
I am here because I've looking for something (plugin, addon, etc.) for graphing with html5 on real time, of course the idea is to implement gauges.
If it isn't exist I'm so interested in creat it but I am not a expert on develop plugins for Nagios.

Of course I need to know if Nagios can monitoring on real time. Thanks a lot for answer.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Real Time Graphics - HTML5 and GAUGES

Post by dwhitfield »

You could certainly set your checks to run every minute. How many checks and what checks would determine how many resources you needed to do this. Passive checks could certainly help, as could using an offloader such as mod_gearman. (See also the quote from our roadmap below)

As for development, I don't think what you are looking for is actually a plugin. Our plugin documentation is at http://nagios-plugins.org/doc/guidelines.html

It sounds like what you want to develop is a different front end. I don't think we have a guide for that. I'm not really sure the best place for a feature request on that. The best option might be to just wait:
Nagios Core 4.3 is currently scheduled to be released around April of 2017. This will primarily be an enhancement release. Some of the changes projected to be in this release are:

Native remote workers
Updates to the Nagios Core GUI
Performance enhancements to the Availability Report
Performance enhancements to the status.cgi
Another option my be to talk to the developers of pnp4nagios or NagVis or one of the 3rd-party graphing tools already out there.

You are also welcome to get involved with development at https://github.com/NagiosEnterprises/nagioscore

Please let us know if we can be of further assistance.
Cristhian_Plaza
Posts: 62
Joined: Thu Oct 27, 2016 2:43 pm

Re: Real Time Graphics - HTML5 and GAUGES

Post by Cristhian_Plaza »

dwhitfield wrote:You could certainly set your checks to run every minute. How many checks and what checks would determine how many resources you needed to do this. Passive checks could certainly help, as could using an offloader such as mod_gearman. (See also the quote from our roadmap below)

As for development, I don't think what you are looking for is actually a plugin. Our plugin documentation is at http://nagios-plugins.org/doc/guidelines.html

It sounds like what you want to develop is a different front end. I don't think we have a guide for that. I'm not really sure the best place for a feature request on that. The best option might be to just wait:
Nagios Core 4.3 is currently scheduled to be released around April of 2017. This will primarily be an enhancement release. Some of the changes projected to be in this release are:

Native remote workers
Updates to the Nagios Core GUI
Performance enhancements to the Availability Report
Performance enhancements to the status.cgi
Another option my be to talk to the developers of pnp4nagios or NagVis or one of the 3rd-party graphing tools already out there.

You are also welcome to get involved with development at https://github.com/NagiosEnterprises/nagioscore

Please let us know if we can be of further assistance.
Ok, I've read about HighCharts, I was looking for it on Internet and found this: http://www.highcharts.com/demo/gauge-vu ... nd-signika.
How can I implement this on my graphics??
About the time, you speak monitoring with intervals around 1 minute, but Nagios supposedly is capable to monitor oriented to events. What I understand about it is, Nagios doesnt need history data to monitor.
Am I right?, please be specific because I am losing myself.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Real Time Graphics - HTML5 and GAUGES

Post by rkennedy »

We can help you with Nagios, but not with highcharts. You would need to configure / integrate this on your own. Our enterprise product, Nagios XI, has these available built in.

Also, on the subject of RTM, it is not advised to run your checks at less than 60 seconds because of how Nagios schedules its checks.
Former Nagios Employee
Cristhian_Plaza
Posts: 62
Joined: Thu Oct 27, 2016 2:43 pm

Re: Real Time Graphics - HTML5 and GAUGES

Post by Cristhian_Plaza »

rkennedy wrote:We can help you with Nagios, but not with highcharts. You would need to configure / integrate this on your own. Our enterprise product, Nagios XI, has these available built in.

Also, on the subject of RTM, it is not advised to run your checks at less than 60 seconds because of how Nagios schedules its checks.
Ok, I have a Question, I am trying to install NDOUtils but, Im having troubles. I think is for ndo2db. but I am not sure. help me with that pls
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Real Time Graphics - HTML5 and GAUGES

Post by dwhitfield »

What versions of Core and NDOUtils? Also, what OS/version?
Cristhian_Plaza
Posts: 62
Joined: Thu Oct 27, 2016 2:43 pm

Re: Real Time Graphics - HTML5 and GAUGES

Post by Cristhian_Plaza »

dwhitfield wrote:What versions of Core and NDOUtils? Also, what OS/version?
I am using Nagios Core 4.2.0 on a RHEL7.
I cloned NDOUtils from here: git clone --recursive https://github.com/NagiosEnterprises/ndoutils.git.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Real Time Graphics - HTML5 and GAUGES

Post by dwhitfield »

Are https://support.nagios.com/kb/article.php?id=406 the instructions you are using for the install? If not, what instructions are you using?

I suspect the only thing that will be different between 6 & 7 is systemctl, but we can dig a bit once we know the route you are taking.
Cristhian_Plaza
Posts: 62
Joined: Thu Oct 27, 2016 2:43 pm

Re: Real Time Graphics - HTML5 and GAUGES

Post by Cristhian_Plaza »

dwhitfield wrote:Are https://support.nagios.com/kb/article.php?id=406 the instructions you are using for the install? If not, what instructions are you using?

I suspect the only thing that will be different between 6 & 7 is systemctl, but we can dig a bit once we know the route you are taking.
Yes, that is the page...., but the message of system is:

Code: Select all

$ sudo make install
cd ./src && make install
make[1]: Entering directory `/tmp/ndoutils/src'
/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/var
/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/bin
/bin/install -c -m 755 -o nagios -g nagios ndo2db-4x /usr/local/nagios/bin/ndo2db
/bin/install: cannot stat ‘ndo2db-4x’: No such file or directory
make[1]: *** [install-4x] Error 1
make[1]: Leaving directory `/tmp/ndoutils/src'
make: *** [install] Error 2
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Real Time Graphics - HTML5 and GAUGES

Post by dwhitfield »

Can you post the output of history into a code block?

If you are concerned about security, you can PM it to me. If you choose to PM, please make sure you update this post after PMing.
Locked