Marc, The status (of the host in Nagios) is down.
The host definition is: define host{ use linux-server ; Name of host template$ ; This host definition $ ; in (or inherited by) $ host_name localhost alias localhost address 127.0.0.1 } This is how it is out-of-the-box. How would I impliment a check_command? Thanks, Andy Quoting Marc Powell <m...@ena.com>: > > On Mar 23, 2009, at 10:15 AM, acarl...@princeton-il.com wrote: > >> I am running CentOS 5 and I installed nagios thru yum using the >> RPMForge repository. When I log into the web interface, it shows my >> server as down/critical under hosts. > > I can't speak to the specifics of what RPMForge does for defaults but > generally, your host's check_command doesn't work or doesn't > accurately reflect the status of the host. > > What is the Status Information? > What is the host{} definition? > What is the command{} definition it references as it's check_command? > >> Obviously since I'm accessing >> the host remotely via HTTP it isn't down. Any thoughts on how to fix >> this? Also, this was a clean install of the OS that I installed >> Apache, MySQL, PHP, and Nagios onto (including dependencies). > > An somewhat arbitrary guess is that the host check_command tries to > ping localhost and that doesn't work. Can you ping localhost as the > nagios user? If not, you may need to SUID /bin/ping so that it can be > run by non-root users. > > -- > Marc > > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ > Nagios-users mailing list > Nagios-users@lists.sourceforge.net > 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 > Andy Carlson IT Manager City of Princeton www.princeton-il.com Office (815) 875-2631 ext. 253 Cell (815) 719-0023 41° 22' 30" N 89° 27' 55" W --------------------------------------------------- "The ubiquity of the Internet is more important than the technology of the Internet" -- Jeff Bezos ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net 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