Search found 13 matches

by wally
Mon Dec 01, 2014 1:26 pm
Forum: Nagios XI
Topic: [Design Advice Needed] Push POST notifications into Nagios
Replies: 11
Views: 2556

Re: [Design Advice Needed] Push POST notifications into Nagi

I based my analysis on this link: http://nagios.sourceforge.net/docs/3_0/extcommands.html When Does Nagios Check For External Commands? - At regular intervals specified by the command_check_interval option in the main configuration file (default 60 seconds) - Immediately after event handlers are exe...
by wally
Mon Dec 01, 2014 12:41 pm
Forum: Nagios XI
Topic: [Design Advice Needed] Push POST notifications into Nagios
Replies: 11
Views: 2556

Re: [Design Advice Needed] Push POST notifications into Nagi

The thing is: I already have a Python script polling data from my API and posting results in the Nagios dashboard, and for this I can set the frequency of execution of my script in Nagios. Basically this is a PULL method from the Nagios perspective. I was looking into the external-command/passive pi...
by wally
Fri Nov 28, 2014 5:45 am
Forum: Nagios XI
Topic: [Design Advice Needed] Push POST notifications into Nagios
Replies: 11
Views: 2556

Re: [Design Advice Needed] Push POST notifications into Nagi

So I had a look at the Nagios command pipe and passive checks, and they look pretty similar. Passive checks sounds like a best effort service, while the command pipe can be given more promptness by increasing the frequency of checking. Am i correct?

Thanks!
by wally
Thu Nov 20, 2014 6:59 pm
Forum: Nagios XI
Topic: [Design Advice Needed] Push POST notifications into Nagios
Replies: 11
Views: 2556

Re: [Design Advice Needed] Push POST notifications into Nagi

So in case I use a log server, let's say Heroku, what would be the best way to transfer this information into NagiosXI ? Do I need to use a script (e.g. Python) to periodically sample the data from the Heroku logs, or is there an alternative way? Last question: do you have a link where all the optio...
by wally
Thu Nov 20, 2014 5:15 am
Forum: Nagios XI
Topic: [Design Advice Needed] Push POST notifications into Nagios
Replies: 11
Views: 2556

Re: [Design Advice Needed] Push POST notifications into Nagi

Hi Sreinhardt, you got the point, that's exactly what I am trying to achieve: "To summarize, you have XI and heroku installed on the same machine. Heroku gets POST web requests, and you would like to forward the contents of these requests to nagios?" >>>>>>>>> but I want to do that avoidin...
by wally
Wed Nov 19, 2014 5:16 am
Forum: Nagios XI
Topic: [Design Advice Needed] Push POST notifications into Nagios
Replies: 11
Views: 2556

[Design Advice Needed] Push POST notifications into Nagios

Hi Nagioers, ;) I'd like to integrate Nagios with my own notification mechanism based on HTTP POST requests. I installed Heroku on the NagiosXI Server, and I am correctly receiving notification in Heroku via HTTP callbacks. The mechanisms is basically a webhook: POST requests are received by Heroku ...
by wally
Wed Nov 19, 2014 4:57 am
Forum: Nagios XI
Topic: NagiosXI don't get right command parameters (Python plugin)
Replies: 5
Views: 1922

Re: NagiosXI don't get right command parameters (Python plug

Thanks, that works!

You can close this thread if you wish.
by wally
Tue Nov 11, 2014 12:02 pm
Forum: Nagios XI
Topic: NagiosXI don't get right command parameters (Python plugin)
Replies: 5
Views: 1922

Re: NagiosXI don't get right command parameters (Python plug

Hi Tmc,

it seems to be working, that's great! I'd like to understand the logic behind your solution, so do you have a link pointing to some explanations on how the command line parameters (and the meta carachter '!') are used in the comman{} and service{} configs?

Thanks again!
by wally
Tue Nov 11, 2014 10:40 am
Forum: Nagios XI
Topic: NagiosXI and Python script
Replies: 6
Views: 3656

Re: NagiosXI and Python script

yes it did, please close. Thanks again.
by wally
Tue Nov 11, 2014 7:57 am
Forum: Nagios XI
Topic: NagiosXI and Python script
Replies: 6
Views: 3656

Re: NagiosXI and Python script

Thanks Abrist, much appreciated!