Std.
"check_command" definition in "sample-config":
"$USER1$/check_dns -H www.yahoo.com -s
$HOSTADDRESS$"
should
be change to s.th. like
"$USER1$/check_dns -H $ARG1$ -s $ARG2$"
then
use it with:
....
check_command
check_dns!<hostname>!<hostaddress>
....
I
assume, you have defined real contact-groups vor "blabla" and an existing
host?
The
possibilities of a plugin can be discovered by calling the plugin from the
command shell, respectively calling it with "<plugin_name>
--help".
Pls.
refer to the excellent Nagios-documentation: http://nagios.sourceforge.net/docs/2_0/xodtemplate.html,
also delivered with your Nagios installation in
"<nagios_install>/share/docs/", or browse the archives of this
list.
Your
problems are novice-probs (and no real probs), and should be
better resolved by reading the docs than by penetrating this
list!
Greetz,
Thomas Zimmer
Produktservice & Betrieb
Betrieb & Support
Sal. Oppenheim jr. & Cie., Frankfurt a. Main
Produktservice & Betrieb
Betrieb & Support
Sal. Oppenheim jr. & Cie., Frankfurt a. Main
-----Ursprüngliche Nachricht-----hi all.
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Mehmet Fatih AKBULUT
Gesendet: Mittwoch, 30. November 2005 12:09
An: [email protected]
Betreff: [Nagios-users] whats wrong with these definitions ? help please!
# Service definition
define service{
use generic-service ; Name of service template to use
host_name blablabla
service_description DNS
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 3
retry_check_interval 1
contact_groups blablabla
notification_interval 120
notification_period 24x7
notification_options w,u,c,r
check_command check_dns /* is it necessary to add something here ?*/
}
# Service definition
define service{
use generic-service ; Name of service template to use
host_name blablabla
service_description LDAP
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 3
retry_check_interval 1
contact_groups blablabla
notification_interval 120
notification_period 24x7
notification_options w,u,c,r
check_command check_ldaps /* is it necessary to add something here ?*/
}
why these services dont appear on nagios ? do i have to add anything after check_dns & check_ldaps ???
and is this command definition below correct ?
# 'check_ldaps' command definition
define command{
command_name check_ldaps
command_line /usr/local/nagios/libexec/check_ldaps /*do i have to add something here?*/
}
help me please ...
