About object definitions.
Tiernan, Michael C.
mtiernan at draper.com
Wed May 10 22:11:50 CEST 2006
Another question about definitions, did I miss something in the
documentation?
I'd like to define a host object:
define host{
check_command check-host-alive
max_check_attempts 1
check_period 24x7
contact_groups testadmins
notification_interval 1
notification_period anytime
notification_options d,u,r,f
name unix_hosts
}
and then be able to use it:
define host {
host_name myhost
alias big box
address 10.0.0.0
use unix_hosts
}
but it complains about the original definition being blank/null.
I know the object definition works right if I do this:
define host{
host_name thatbox
alias Bob's Linux Machine
address 10.1.0.0
check_command check-host-alive
max_check_attempts 1
check_period 24x7
contact_groups testadmins
notification_interval 1
notification_period anytime
notification_options d,u,r,f
name unix_hosts
}
and then use 'unix_hosts" after that.
Simplified, can I define unix_hosts without assigning a machine name to
it?
Thank you all.
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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