[Nagiosplug-help] Nagios 2.9 & 1.4.9 plugins &solaris 9
sivaprasad yarlagadda
siva.yarlagadda at gmail.com
Sat Aug 25 07:18:18 CEST 2007
Hi Support
I installed Nagios 2.9 and after that i installed 1.4.9 plugins but
when i am trying to add any services then i am not able to start the
nagios. the operating system i am using is sun soalris 9. now i want
to monitor all linux solaris and hp unix servers and router with
nagios, can any one help on who to modify the configuration files.
root at siva# ls -lrt
total 234
-rwxr-xr-x 1 nagios nagios 1338 Aug 11 12:16 resource.cfg
-rwxr-xr-x 1 nagios nagios 12469 Aug 11 12:16 localhost.cfg
-rwxr-xr-x 1 nagios nagios 8579 Aug 11 12:16 commands.cfg
-rwxr-xr-x 1 nagios nagios 21 Aug 13 17:50 htpasswd.users
-rwxr-xr-x 1 nagios nagios 0 Aug 14 00:32 misccommands.cfg
-rwxr-xr-x 1 root other 31129 Aug 14 10:51 nagios.cfg.org
-rwxr-xr-x 1 root other 9581 Aug 14 10:56 cgi.cfg.org
-rwxr-xr-x 1 nagios nagios 9574 Aug 14 10:58 cgi.cfg
-rw-r----- 1 root other 146 Aug 14 12:35 hostgroups.cfg
-rw-r----- 1 root other 159 Aug 15 14:16 contactgroups.cfg
-rw-r----- 1 root other 370 Aug 15 14:21 hosts.cfg
-rw-r----- 1 root other 600 Aug 15 14:40 contacts.cfg
-rwxr-xr-x 1 nagios nagios 31123 Aug 23 11:32 nagios.cfg
-rw-r----- 1 root other 1340 Aug 23 11:34 timeperiods.cfg
-rwxr-xr-x 1 nagios nagios 2428 Aug 24 16:54 checkcommands.cfg
-rw-r----- 1 root other 96 Aug 24 17:00 services.cfg
root at siva# more services.cfg
define service{
service_description HTTP
check_command check_http
hosts tatatel4-aw
}
root at siva # /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
Nagios 2.9
Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org)
Last Modified: 04-10-2007
License: GPL
Reading configuration data...
Error: Invalid max_attempts, check_interval, retry_interval, or
notification_interval value for service 'HTTP' on host 'tatatel4-aw'
Error: Could not register service (config file
'/usr/local/nagios/etc/services.cfg', starting on line 1)
***> One or more problems was encountered while processing the config files...
Check your configuration file(s) to ensure that they contain valid
directives and data defintions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation regarding the config files, as well as the
'Whats New' section to find out what has changed.
root at siva #
Thanks & Regards
Siva Yarlagadda
Unix System Admin
(+91 4066556166
More information about the Help
mailing list