Re: [Nagios-db-devel] abstraction and mysql support added to ui
Status: Beta
Brought to you by:
bench23
From: Ben <be...@si...> - 2005-01-21 21:22:21
|
Well, I forget my rational at the time, but this was intentional. Maybe I was trying to lessen database load by keeping down the updates? Regardless, I think you are correct: current state should be displayed, as opposed to whatever things were like when the service/host first entered it's current state. On Fri, 21 Jan 2005, Matthew Kent wrote: > On Fri, 2005-01-21 at 20:32, Ben wrote: > > Well, as usual, blaming problems on something else publicly is a sure-fire > > way to figure out that it's really your fault. > > > > It appears that if a host is in a CRITICAL state since nagios has been > > started, then hostchecks still happen, but if they don't change the state, > > then NEB events are not fired. I've gotten around this by registering for > > host and service check events, as well as for status updates. Seems to be > > working better so far.... I'll watch how things progress over the next few > > hours. > > > > Great, I'll have to take a look at your changes when it's ready. > > So as for adding that extra plugin_output field I mentioned below, do > you agree with that logic? Or am I missing something obvious... seems to > me the UI should be displaying the most current check results. > > - Matt > > > On Fri, 21 Jan 2005, Matthew Kent wrote: > > > > > On Fri, 2005-01-21 at 19:37, Ben wrote: > > > > On Tue, 18 Jan 2005, Ben wrote: > > > > > > > > > > The issue I see with how it currently works is that if you clear out the > > > > > > db and wipe the nagios retention.dat, when you go to start nagios up > > > > > > from this 'fresh' state the module doesn't insert all the host/services > > > > > > on startup. So instead of seeing '800 pending checks' after refreshing > > > > > > the mat view you see 5 hosts up/20 service ok/0 pending. > > > > > > > > > > I suppose that is more correct, and doing this will also address the issue > > > > > about serviceDetails.php not showing pending services. > > > > > > > > Ok, so I made some changes to get this to work, and I'm now noticing that > > > > it seems nagios isn't doing host checks on some of my servers. Have you > > > > noticed that? > > > > > > Interesting, no I haven't noticed that. So they aren't showing up in the > > > nagios log either? > > > > > > What I did notice immediately after making that change was that host and service > > > check data in the UI was out of date. I made a note about it in the TODO. > > > > > > "need to define a plugin_output field for both host_check/service_check to be use > > > when querying host/service status. currently host_history/service_history is used > > > but these results are stale right after the initial check." > > > > > > -- > > > Matthew Kent <mk...@ma...> > > > http://magoazul.com > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > > > Tool for open source databases. Create drag-&-drop reports. Save time > > > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > > > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > > > _______________________________________________ > > > Nagios-db-devel mailing list > > > Nag...@li... > > > https://lists.sourceforge.net/lists/listinfo/nagios-db-devel > > > > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > > Tool for open source databases. Create drag-&-drop reports. Save time > > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > > _______________________________________________ > > Nagios-db-devel mailing list > > Nag...@li... > > https://lists.sourceforge.net/lists/listinfo/nagios-db-devel > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Nagios-db-devel mailing list > Nag...@li... > https://lists.sourceforge.net/lists/listinfo/nagios-db-devel > |