external command doc for Nagios 4.x ?

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
nagmoto
Posts: 195
Joined: Fri Jan 09, 2015 8:05 am

external command doc for Nagios 4.x ?

Post by nagmoto »

For eaxmple I can lookup DEL_SVC_DOWNTIME at following URL
https://old.nagios.org/developerinfo/ex ... and_id=126
But above URL is old. I am wondering if there is a newer externacommands doc for Nagios 4.x ?
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: external command doc for Nagios 4.x ?

Post by dwhitfield »

Did you have any specific questions, or just looking for https://assets.nagios.com/downloads/nag ... mands.html ?
nagmoto
Posts: 195
Joined: Fri Jan 09, 2015 8:05 am

Re: external command doc for Nagios 4.x ?

Post by nagmoto »

I am interested to learn more about DEL_SVC_DOWNTIME and found linked to old.nagios.org site like following.

>https://old.nagios.org/developerinfo/ex ... mmand_id=4

and DEL_SVC_DOWNTIME from above old site only showing supported version up to nagios 3.x.

Question : Is there a newer developerinfo site other than old.nagios.org ?
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: external command doc for Nagios 4.x ?

Post by dwhitfield »

It's in the latest version: https://github.com/NagiosEnterprises/na ... commands.c

All I can find as far as developer info is https://labs.nagios.com/tag/developer-documentation/

I also sent this thread to our Core developer, in case he has a better place to send you for development documentation.
nagmoto
Posts: 195
Joined: Fri Jan 09, 2015 8:05 am

Re: external command doc for Nagios 4.x ?

Post by nagmoto »

Thanks for the developer tag, it has some good article from Bryan Heden, like "Extending Nagios functionality with libnagios".
I am hoping external command part of doc can be updated with Nagios 4.2.4 status.
reading command.c is ok, but it means to me use it one's own risk, since it is not documented(after tested).
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: external command doc for Nagios 4.x ?

Post by dwhitfield »

Ok, dev said first that the old.nagios.com is not actually all that old and should work just fine.

Also, he suggested you take a look at https://old.nagios.org/developerinfo/ex ... ndlist.php

Ultimately, Core development moves much more quickly than XI development, so it is hard to document. I did make our documentation team aware of this issue. I apologize that I cannot be more clear than that. Certainly if you run into issues using DEL_SVC_DOWNTIME, we will support it and file bugs as as appropriate. If you wish to bypass the support forum and file bugs directly, you can do so at https://github.com/NagiosEnterprises/na ... issues/new
nagmoto
Posts: 195
Joined: Fri Jan 09, 2015 8:05 am

Re: external command doc for Nagios 4.x ?

Post by nagmoto »

Please lock this thread. Thanks for your reponses.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: external command doc for Nagios 4.x ?

Post by dwhitfield »

Still says old.nagios.com, but 4.x has been added to https://old.nagios.org/developerinfo/ex ... mit=Update
Locked