zorkian / nagios-api

A REST-like, JSON interface to Nagios
BSD 3-Clause "New" or "Revised" License
586 stars 173 forks source link

WARNING:Starting diesel <hand-rolled select.epoll> #16

Closed albertsj1 closed 11 years ago

albertsj1 commented 11 years ago

I thought I would give nagios-api a try today. I got it to start, but received the following warning message: WARNING:Starting diesel

What does this warning mean and is there something I should do to fix it?

The reason I am posting this is because it seems using nagios-api is causing quite a load on my nagios server, which I suspect is because it is parsing the status.dat file for information. Has any thought been put into possibly using mklivestatus instead of parsing the status.dat file? I would expect using mklivestatus to be much more lightweight.

zorkian commented 11 years ago

The warning doesn't mean anything useful. For some reason Diesel prints it and I'm not sure if it can be suppressed with a startup option or anything. @jamwt?

Re: the load, yeah, on big installations it seems to be less performant. I've started looking into the mklivestatus and that looks interesting and will probably do what I want. I'll try to get it implemented!

zorkian commented 11 years ago

Upstream problem; I can't suppress this from my end. @jamwt, take this as a feature request so as not to print spurious STDERR text! Thanks!