Search found 38 matches

by rjconroy
Thu Feb 15, 2018 11:41 am
Forum: Open Source Nagios Projects
Topic: Forwarding status and events from one server to another
Replies: 50
Views: 27411

Re: Forwarding status and events from one server to another

At this point i have 2 issues... #1 I see the packets per tcpdump when the command is executed manually under wither the php or sh options. They are received at the parent, but none are being generated by the service at the child. #2 Additionally the remote commands are not updating parent, the loca...
by rjconroy
Thu Feb 15, 2018 11:38 am
Forum: Open Source Nagios Projects
Topic: Forwarding status and events from one server to another
Replies: 50
Views: 27411

Re: Forwarding status and events from one server to another

the event handlers do not appear to be off. If I'm understanding you right in the commands.cfg it would appear that the notification commands run prior to the host check commands per the file structure. I assume you are referring to something other than that? This should be an easy thing, I don't ge...
by rjconroy
Wed Feb 14, 2018 6:16 pm
Forum: Open Source Nagios Projects
Topic: automating nrdp event forwarding from child to parent
Replies: 3
Views: 1390

Re: automating nrdp event forwarding from child to parent

I'm sorry I posted the updates in the other thread someone replied to. I get the service to start it was a path error to the command, once I saw that in the log I fixed and it started normally. AS it stands now the service is running but nothing appears to be forwarded to the parent server Refer to ...
by rjconroy
Wed Feb 14, 2018 5:05 pm
Forum: Open Source Nagios Projects
Topic: Forwarding status and events from one server to another
Replies: 50
Views: 27411

Re: Forwarding status and events from one server to another

Here is the nagios.cfg ############################################################################## # # NAGIOS.CFG - Sample Main Config File for Nagios # # ############################################################################## # LOG FILE # This is the main log file where service and host e...
by rjconroy
Wed Feb 14, 2018 4:53 pm
Forum: Open Source Nagios Projects
Topic: Forwarding status and events from one server to another
Replies: 50
Views: 27411

Re: Forwarding status and events from one server to another

update, after restarting Nagios it gave error apparently not liking the command path using the variable as it was pointing to the wrong path per the log entry. I edited it to the command path to the exact path and this error seems to have gone away, however, I'm not seeing anything being sent and no...
by rjconroy
Wed Feb 14, 2018 4:31 pm
Forum: Open Source Nagios Projects
Topic: Forwarding status and events from one server to another
Replies: 50
Views: 27411

Re: Forwarding status and events from one server to another

added the following to commands.cfg in the Host Check Commands section, commands are on one line as referenced in the doc: define command{ command_name send_nrdp_host command_line $USER1$/send_nrdp.php --url=https://1.2.3.4/nrdp/ --token=token1 --host="$HOSTNAME$" --state=$HOSTSTATEID$ --o...
by rjconroy
Wed Feb 14, 2018 1:25 pm
Forum: Open Source Nagios Projects
Topic: automating nrdp event forwarding from child to parent
Replies: 3
Views: 1390

automating nrdp event forwarding from child to parent

After struggling a little to get NRDP to work, its new to me, I finally got it and was able to send manual commands and have them be received and update the web interface accordingly, but am now having an issue attempting to automate that process for the actual configured hosts that are part of the ...
by rjconroy
Wed Feb 14, 2018 1:23 pm
Forum: Open Source Nagios Projects
Topic: Forwarding status and events from one server to another
Replies: 50
Views: 27411

Re: Forwarding status and events from one server to another

update
ok, I think I get this, thanks a ton for the assist(s) so far.
Im having another issue with forwarding the events automatically but i would assume that to be a new thread so ill post it seperately.
Id like to leave this open another day or two just in case, but i think this may be resolved.
by rjconroy
Tue Feb 13, 2018 10:28 am
Forum: Open Source Nagios Projects
Topic: Forwarding status and events from one server to another
Replies: 50
Views: 27411

Re: Forwarding status and events from one server to another

updated relevant snippet: 07:26:30.276369 IP (tos 0x0, ttl 64, id 17865, offset 0, flags [DF], proto TCP (6), length 633) 192.168.1.83.58621 > parentserver.domain.http: Flags [P.], cksum 0x009c (correct), seq 1:594, ack 1, win 29, length 593 E..yE.@.@.n....S...Q...P..q.b ^bP.......POST /nrdp/ HTTP/1...
by rjconroy
Mon Feb 12, 2018 6:41 pm
Forum: Open Source Nagios Projects
Topic: Forwarding status and events from one server to another
Replies: 50
Views: 27411

Re: Forwarding status and events from one server to another

Here is the relevant snippet. 15:37:27.152229 IP (tos 0x0, ttl 64, id 34010, offset 0, flags [DF], proto TCP (6), length 40) 192.168.1.83.57540 > parentserver.domain.http: Flags [.], cksum 0x533d (correct), seq 1, ack 1, win 29, length 0 E..(..@.@.2....S...Q...PD....M..P...S=........ 15:37:27.152278...