Need documention for hosts configuration
Denny Schierz
cuall at gmx.de
Sat Jul 22 10:33:28 CEST 2006
hi,
i'm glad to getting nagios 2.5 working with nrpe too. Now i'am writing a
howto on a german wiki.
My problem is, that the documention from nagios (html 2.x on the
website) is poorly written, meaning it has a bad structure and i need
much time to find, what i searching for.
So, to let me and my readers understand, what for options are possible
in the "hosts config", like in the minimal.cfg i want to write it down,
on examples. Most things are selfexplained but, some not. Can somebody
write a few lines, about the following lines, or show me the right part
from the offi. docu. on the nagios website?
max_check_attempts 10
notification_interval 120
notification_options d,r
is_volatile 0
normal_check_interval 5
retry_check_interval 1
contact_groups admins
notification_options w,u,c,r
notification_interval 960
check_command check_ping!100.0,20%!500.0,60%
on these last line, i don't know, where i have o set a "!" for example
from the dns_check:
./check_dns -H heise.de -s 192.168.1.1
DNS OK: 0.018 seconds response time. heise.de returns
193.99.144.80|time=0.017630s;;;0.000000
so looks the line from the bash, but i wrote something as command and
expecting, that it is wrong:
define command{
command_name check-resolv-dns
command_line $USER1$/check_dns -H www.heise.de -s $HOSTADDRESS$
}
define service{
use generic-service ; Name
of service template to use
host_name win2k3
service_description DNS_resolv
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 2
retry_check_interval 1
contact_groups admins
notification_interval 240
notification_period 24x7
notification_options w,u,c,r
check_command check_dns!heise.de
}
i know, i have had it hardcoded, but check_dns resolv the address from
the yahoo server, not heise.de ...
So, if somebody can explain my mistakes, i can writing a good howto :-)
cu denny
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 255 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060722/64d0ea0b/attachment.sig>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060722/64d0ea0b/attachment-0001.sig>
-------------- next part --------------
-------------------------------------------------------------------------
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
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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
More information about the Users
mailing list