> -----Original Message----- > From: Sebastian Ganame [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 10, 2007 10:48 AM > To: Marc Powell; [email protected] > Subject: RE: [Nagios-users] Files locking might be an issue for > scalability? > > Hi Marc (& others that answered my question), > I share your mindset that if using polling 1K instances every 10 > seconds (or so) wouldn't make any sense. > When I post file locking might be an issue, I was not thinking on a > pull mechanism for services (Nagios trying to retrieve information), but > in Nagios being pushed by services for this kind of info. As far as I read > from documentation, for a push schema, the monitored instance has to write > a given file inside Nagios structure to update his status. > What do you think about this?
Passive checks are written to a named pipe that is read by nagios, not a file. Again, file contention isn't going to be an issue afaik as your OS will handle access to the named pipe. You do need to be worried about sending results faster than nagios can check them though. Your OS will buffer result submissions up to your max pipe size (typically 4096 bytes I believe) and you can configure nagios to check external commands as often as it possibly can (command_check_interval -1 I believe) but even so, processing 10 results for 1000 host every 10 seconds (1000 results/second) is not trivial. Again, you'd probably be breaking new ground and I'd be surprised if it worked with the current architecture. I submit about 4000 passive results every 5 minutes (~13/second) and feel like I have plenty of room to grow but not like that... -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
