[Nagios-devel] Allow re-schedule of checks for service which has been disabled
Posted: Thu Mar 06, 2003 8:19 am
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_000_01C2E3FC.0FF25A40
Content-Type: text/plain
Hi!
Please find a patch attached for extinfo.c which allows the web to show an
option to Re-schedule the next check if the service has active checks
disabled.
>
Ton
Ton Voon
IT Operations - Environments
North Wing, Derby
Telephone: 01384 26 (4406)
mailto: [email protected]
This private and confidential e-mail has been sent to you by Egg.
The Egg group of companies includes Egg Banking plc
(registered no. 2999842), Egg Financial Products Ltd (registered
no. 3319027) and Egg Investments Ltd (registered no. 3403963) which
carries out investment business on behalf of Egg and is regulated
by the Financial Services Authority.
Registered in England and Wales. Registered offices: 1 Waterhouse Square,
138-142 Holborn, London EC1N 2NA.
If you are not the intended recipient of this e-mail and have
received it in error, please notify the sender by replying with
'received in error' as the subject and then delete it from your
mailbox.
------_=_NextPart_000_01C2E3FC.0FF25A40
Content-Type: application/octet-stream;
name="extinfo.c.patch"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="extinfo.c.patch"
*** extinfo.c Wed Aug 28 04:46:26 2002=0A=
--- extinfo.c.ton Thu Mar 6 16:14:11 2003=0A=
***************=0A=
*** 1276,1292 ****=0A=
printf("\n");=0A=
=0A=
if(temp_svcstatus->checks_enabled){=0A=
- =0A=
printf("Disable checks of this =
service\n",url_encode(service_desc));=0A=
- =0A=
- printf("Re-schedule the next check of this =
service\n",url_encode(service_desc));=0A=
}=0A=
else{=0A=
printf("Enable checks of this =
service\n",url_encode(service_desc));=0A=
}=0A=
=0A=
if(temp_svcstatus->accept_passive_service_checks=3D=3DTRUE){=0A=
printf("\n");=0A=
=0A=
if(temp_svcstatus->checks_enabled){=0A=
printf("Disable checks of this =
service\n",url_encode(service_desc));=0A=
}=0A=
else{=0A=
printf("Enable checks of this =
service\n",url_encode(service_desc));=0A=
}=0A=
+ printf("<t
...[email truncated]...
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
this format, some or all of this message may not be legible.
------_=_NextPart_000_01C2E3FC.0FF25A40
Content-Type: text/plain
Hi!
Please find a patch attached for extinfo.c which allows the web to show an
option to Re-schedule the next check if the service has active checks
disabled.
>
Ton
Ton Voon
IT Operations - Environments
North Wing, Derby
Telephone: 01384 26 (4406)
mailto: [email protected]
This private and confidential e-mail has been sent to you by Egg.
The Egg group of companies includes Egg Banking plc
(registered no. 2999842), Egg Financial Products Ltd (registered
no. 3319027) and Egg Investments Ltd (registered no. 3403963) which
carries out investment business on behalf of Egg and is regulated
by the Financial Services Authority.
Registered in England and Wales. Registered offices: 1 Waterhouse Square,
138-142 Holborn, London EC1N 2NA.
If you are not the intended recipient of this e-mail and have
received it in error, please notify the sender by replying with
'received in error' as the subject and then delete it from your
mailbox.
------_=_NextPart_000_01C2E3FC.0FF25A40
Content-Type: application/octet-stream;
name="extinfo.c.patch"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="extinfo.c.patch"
*** extinfo.c Wed Aug 28 04:46:26 2002=0A=
--- extinfo.c.ton Thu Mar 6 16:14:11 2003=0A=
***************=0A=
*** 1276,1292 ****=0A=
printf("\n");=0A=
=0A=
if(temp_svcstatus->checks_enabled){=0A=
- =0A=
printf("Disable checks of this =
service\n",url_encode(service_desc));=0A=
- =0A=
- printf("Re-schedule the next check of this =
service\n",url_encode(service_desc));=0A=
}=0A=
else{=0A=
printf("Enable checks of this =
service\n",url_encode(service_desc));=0A=
}=0A=
=0A=
if(temp_svcstatus->accept_passive_service_checks=3D=3DTRUE){=0A=
printf("\n");=0A=
=0A=
if(temp_svcstatus->checks_enabled){=0A=
printf("Disable checks of this =
service\n",url_encode(service_desc));=0A=
}=0A=
else{=0A=
printf("Enable checks of this =
service\n",url_encode(service_desc));=0A=
}=0A=
+ printf("<t
...[email truncated]...
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]