On Oct 7, 2009, at 12:35 PM, Albert Shih wrote: > Le 05/10/2009 à 13:34:30-0400, Noel Platzke a écrit > Thanks for you answer. > > >> Say we have a bunch of servers that need multiple checks that do an >> HTTP GET on >> different URIs and look for a specific string in the response. >> Isn't it easier >> to maintain a single command that takes a few arguments than having >> to >> constantly define a new command that does basically the same thing >> for each >> service check? And if down the road someday HTTP becomes HTTPS you >> only need to >> edit one configuration. > > You mean they are no other reason like perfomance (register like > object) ? > or security reason ?
While there may be arguments for both, the flexibility available just due to the implementation of command definitions is more than enough reason for their existence. Nagios 1.x and Netsaint had support for specifying raw command lines in the host and service definitions but it was dropped after those versions. -- Marc ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ 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
