Hi ,
I had already raised this on the pre-sales section, but since we are now actual customers would hope we get a better feedback.
I have written a perl based plugin for our aruba wireless and we are trying to plot number of users in various roles on the system at the moment the output of the perfdata looks like this:
authenticated=3;0;0;0;20 guest=1;0;0;0;42 khipu-sales=12;0;0;0;59 khipu-technical=4;0;0;0;79 voice=1;0;0;0;102 , some of the graphs would go and come as a few of the roles might not be in use at all, the graphs look like this at the moment
Further to this it seems like if I delete the .rrd and xml files by hand and let the system regenerate them it gets fixed till the point when one the graphs has to go and the role is no longer in use for e.g. if output of perfdata changes from
authenticated=3;0;0;0;20 guest=1;0;0;0;42 khipu-sales=12;0;0;0;59 khipu-technical=4;0;0;0;79 voice=1;0;0;0;102 to authenticated=3;0;0;0;20 khipu-sales=12;0;0;0;59 it breaks. Is there a way to get this fixed.
Your help is appreciated.
Many Thanks
Arnab
Dynamic graphs and Plotting of perf data
-
- Posts: 4380
- Joined: Mon Jun 14, 2010 10:21 am
Re: Dynamic graphs and Plotting of perf data
Ok, I see what the problem is. You can't have the performance data sets be dynamic and continually changing, the rrd file will be overwritten without the empty data sets.
You can't have a check sometimes return this:
So in short, if you want graphs for the following items:
authenticated=3;0;0;0;20
guest=1;0;0;0;42
khipu-sales=12;0;0;0;59
khipu-technical=4;0;0;0;79
voice=1;0;0;0;102
ALL of these values need to be there in every check, even if they're all 0's. Does that make sense?
You can't have a check sometimes return this:
and then sometimes return this:authenticated=3;0;0;0;20 guest=1;0;0;0;42 khipu-sales=12;0;0;0;59 khipu-technical=4;0;0;0;79 voice=1;0;0;0;102
It needs to always have the maximum number of data sets that it will ever have, otherwise you'll have graphs that continue to disappear.authenticated=3;0;0;0;20 khipu-sales=12;0;0;0;59
So in short, if you want graphs for the following items:
authenticated=3;0;0;0;20
guest=1;0;0;0;42
khipu-sales=12;0;0;0;59
khipu-technical=4;0;0;0;79
voice=1;0;0;0;102
ALL of these values need to be there in every check, even if they're all 0's. Does that make sense?
-
- Posts: 354
- Joined: Sat Apr 30, 2011 10:24 am
Re: Dynamic graphs and Plotting of perf data
Hi I am opening this one once again...because I consider this to be a serious limitation, even if we send 0 's for objects that we are monitoring, in a dynamic environment like wireless where things like AP's get added etc and we have to monitor things it seems to break down even if the check result returns more data i.e. appends at the end of the data, so in this situation rrd seems to be in-effective is their a provision for realtime as described in this plugin http://exchange.nagios.org/directory/Ad ... er/details
Many Thanks
Arnab
Many Thanks
Arnab
-
- Posts: 4380
- Joined: Mon Jun 14, 2010 10:21 am
Re: Dynamic graphs and Plotting of perf data
We haven't actually tested or documented this addon, but it may provide what you need. There's no reason why it shouldn't work with XI either, since the Core Engine with ndoutils is still running underneath XI. I'd say give it a try and let us know if you have questions or if it does what you need. The graphing interface won't be integrated with XI, but it may be able to do what you need.
-
- Posts: 354
- Joined: Sat Apr 30, 2011 10:24 am
Re: Dynamic graphs and Plotting of perf data
Hi
Had quick look at the plugin and it looks like its php based just like your components /wizards, can it be made into an addon ? That would be pretty good. It does seem it will do what I need.
Many Thanks
Arnab
Had quick look at the plugin and it looks like its php based just like your components /wizards, can it be made into an addon ? That would be pretty good. It does seem it will do what I need.
Many Thanks
Arnab
-
- Posts: 1040
- Joined: Wed May 11, 2011 8:54 am
Re: Dynamic graphs and Plotting of perf data
Arnab,
Great to hear you found something that works for you!
About your addon question, it does look like an interesting plugin, and we will keep it in mind when developing plugins and addons for NagiosXI.
Regards,
Great to hear you found something that works for you!
About your addon question, it does look like an interesting plugin, and we will keep it in mind when developing plugins and addons for NagiosXI.
Regards,
Nicholas Scott
Former Nagios employee
Former Nagios employee