Real Time Graphics - HTML5 and GAUGES

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

Real Time Graphics - HTML5 and GAUGES

Postby Cristhian_Plaza » Wed Jan 11, 2017 10:50 am

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.
Cristhian_Plaza
 
Posts: 41
Joined: Thu Oct 27, 2016 2:43 pm

Re: Real Time Graphics - HTML5 and GAUGES

Postby dwhitfield » Wed Jan 11, 2017 12:14 pm

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.
User avatar
dwhitfield
Support Tech
 
Posts: 1451
Joined: Wed Sep 21, 2016 10:29 am
Location: Nagios Enterprises, LLC

Re: Real Time Graphics - HTML5 and GAUGES

Postby Cristhian_Plaza » Wed Jan 11, 2017 2:28 pm

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.
Cristhian_Plaza
 
Posts: 41
Joined: Thu Oct 27, 2016 2:43 pm

Re: Real Time Graphics - HTML5 and GAUGES

Postby rkennedy » Wed Jan 11, 2017 2:32 pm

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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
rkennedy
Support Tech
 
Posts: 5916
Joined: Mon Oct 05, 2015 11:45 am
Location: Nagios Enterprises

Re: Real Time Graphics - HTML5 and GAUGES

Postby Cristhian_Plaza » Wed Jan 11, 2017 8:59 pm

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
Cristhian_Plaza
 
Posts: 41
Joined: Thu Oct 27, 2016 2:43 pm

Re: Real Time Graphics - HTML5 and GAUGES

Postby dwhitfield » Thu Jan 12, 2017 10:50 am

What versions of Core and NDOUtils? Also, what OS/version?
User avatar
dwhitfield
Support Tech
 
Posts: 1451
Joined: Wed Sep 21, 2016 10:29 am
Location: Nagios Enterprises, LLC

Re: Real Time Graphics - HTML5 and GAUGES

Postby Cristhian_Plaza » Thu Jan 12, 2017 11:59 am

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.
Cristhian_Plaza
 
Posts: 41
Joined: Thu Oct 27, 2016 2:43 pm

Re: Real Time Graphics - HTML5 and GAUGES

Postby dwhitfield » Thu Jan 12, 2017 2:14 pm

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.
User avatar
dwhitfield
Support Tech
 
Posts: 1451
Joined: Wed Sep 21, 2016 10:29 am
Location: Nagios Enterprises, LLC

Re: Real Time Graphics - HTML5 and GAUGES

Postby Cristhian_Plaza » Thu Jan 12, 2017 2:35 pm

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
Cristhian_Plaza
 
Posts: 41
Joined: Thu Oct 27, 2016 2:43 pm

Re: Real Time Graphics - HTML5 and GAUGES

Postby dwhitfield » Thu Jan 12, 2017 2:44 pm

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.
User avatar
dwhitfield
Support Tech
 
Posts: 1451
Joined: Wed Sep 21, 2016 10:29 am
Location: Nagios Enterprises, LLC

Next

Return to Nagios Core

Who is online

Users browsing this forum: No registered users and 5 guests