------=_Part_19040_11281514.1190566000168
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Hi Nagios developers, hi Ethan,
I am refering to my first post concerning this topic in June this
year. Now I have a draft of a proposal for a XML file describing the
Nagios external commands. It is not complete yet because I just worked
up to the DISABLE commands.
I would like to see some coments on it to understand if this approach
will be helpful.
Next steps would than be:
- define the remaining commands
- write a XML schema for it
- write a XSLT file to get a documentation of external commands out of
this XML file
There are more than one applications for it. I am thinking of an CLI
to the external command file, an automatism to generate a
documentation about external commands supported and maybe a NEB
module to pass external commands to Nagios. What do you think about a
XML-RPC interface?
By the way I found some little typos / issues in the external command
documentation.
- At DISABLE_HOST_SVC_CHECKS you talk about "Enables" this should read
"Disables".
- From the description of CHANGE_SVC_CHECK_TIMERPERIOD it gets not
clear to me what this command is used for. Description seems very
similar to CHANGE_SVC_CHECK_TIMEPERIOD command.
- CHANGE_HOST_CHECK_TIMEPERIOD exists twice, second one should be
called CHANGE_HOST_CHECK_TIMERPERIOD
- CHANGE_RETRY_HOST_CHECK_INTERVAL does not need the option
service_description, right?
Thanks for your comments.
Tobias
------=_Part_19040_11281514.1190566000168
Content-Type: text/xml; name="nagios-externalcommands.xml"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="nagios-externalcommands.xml"
X-Attachment-Id: f_f6xy2679
PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPGV4dGVybmFsY29tbWFuZHMK
CXhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEtaW5zdGFuY2UiCgl4
c2k6bm9OYW1lU3BhY2VTY2hlbWFMb2NhdGlvbj0iZmlsZTovL25hZ2lvcy1leHRlcm5hbGNvbW1h
bmRzLnhzZCI+CgoJPGV4dGVybmFsY29tbWFuZCBpZD0iMSIgbmFtZT0iYWNrbm93bGVkZ2UiPgoJ
CTxpdGVtIG5hbWU9InByb2JsZW0iPgoJCQk8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mluZyIgdXNhZ2U9Im1hbmRhdG9yeSIvPgoJCQkJCTxvcHRpb24gbmFtZT0ic3RpY2t5IiB0eXBl
PSJib29sZWFuIiB1c2FnZT0ibWFuZGF0b3J5Ii8+CgkJCQkJPG9wdGlvbiBuYW1lPSJub3RpZnki
IHR5cGU9ImJvb2xlYW4iIHVzYWdlPSJtYW5kYXRvcnkiLz4KCQkJCQk8b3B0aW9uIG5hbWU9InBl
cnNpc3RlbnQiIHR5cGU9ImJvb2xlYW4iIHVzYWdlPSJtYW5kYXRvcnkiLz4KCQkJCQk8b3B0aW9u
IG5hbWU9ImF1dGhvciIgdHlwZT0ic3RyaW5nIiB1c2FnZT0ibWFuZGF0b3J5Ii8+CgkJCQkJPG9w
dGlvbiBuYW1lPSJjb21tZW50IiB0eXBlPSJzdHJpbmciIHVzYWdlPSJtYW5kYXRvcnkiLz4KCQkJ
CTwvb3B0aW9ucz4KCQkJPC9zcGVjaWZpY2F0aW9uPgoJCTwvaXRlbT4KCTwvZXh0ZXJuYWxjb21t
YW5kPgoJCgk8ZXh0ZXJuYWxjb21tYW5kIGlkPSIyIiBuYW1lPSJhZGQiPgoJCTxpdGVtIG5hbWU9
ImNvbW1lbnQiPgoJCQk8c3BlY2lmaWNhdGlvbiBjb250ZXh0PSJob3N0IiBzY29wZT0ic2luZ2xl
IiBhbGlhcz0iQUREX0hPU1RfQ09NTUVOVCI+CgkJCQk8dmVyc2lvbj4xIDIgMzwvdmVyc2lvbj4K
CQkJCTxvcHRpb25zPgoJCQkJCTxvcHRpb24gbmFtZT0iaG9zdF9uYW1lIiB0eXBlPSJzdHJpbmci
IHVzYWdlPSJtYW5kYXRvcnkiLz4KCQkJCQk8b3B0aW9uIG5hbWU9InBlcnNpc3RlbnQiIHR5cGU9
ImJvb2xlYW4iIHVzY
...[email truncated]...
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]