|
I am trying to add a code field to the server
template: In the "bigger.cfg" define host{ name generic-host ; The
name of this host template - referenced in other host definitions, used for
template recursion/resolution notifications_enabled 1 ; Host
notifications are enabled event_handler_enabled 1 ; Host event
handler is enabled flap_detection_enabled 1 ; Flap
detection is enabled process_perf_data 1 ; Process performance
data retain_status_information 1 ; Retain
status information across program restarts retain_nonstatus_information 1 ; Retain
non-status information across program restarts cd_object 1 ;New
field in order to place a constant value register 0 ; DONT REGISTER
THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } What I want to do is to add a field to the object so I
can read it and send to my notification plug-in. I need the extra bit of info
in order to access a database for failures. Thanks in advance, Bruno -----Mensagem original----- On Wed, 12 Jul 2006, > I would like to know if it is possible to create a custom object
in > Nagios. I want to add a couple of fields to the server template,
but > when I try to insert a new field, the nagios service will not
start. Can > I add a text field to an object template? You need to be more specific. What error do you get? What kind of a change did you make exactly? Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------------------------- 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 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 |
------------------------------------------------------------------------- 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 [email protected] 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
