[Nagios-devel] NRPE installation for Solaris.
Posted: Thu Mar 19, 2009 4:34 pm
--0016369202cb00c43b04657c3679
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
All,
While trying to install Solaris, I ran into a problem where I was getting
error. Upon doing some research I have come up with the following patch.
Is this going to be included in version 2.13
--- src/nrpe.c.orig 2009-03-19 11:08:00.872616000 -0400
+++ src/nrpe.c 2009-03-19 11:08:54.288536000 -0400
@@ -614,9 +614,9 @@
else if(!strcmp(varvalue,"cron"))
log_facility=LOG_CRON;
else if(!strcmp(varvalue,"authpriv"))
- log_facility=LOG_AUTHPRIV;
+ log_facility=LOG_AUTH;
else if(!strcmp(varvalue,"ftp"))
- log_facility=LOG_FTP;
+ log_facility=LOG_DAEMON;
else if(!strcmp(varvalue,"local0"))
log_facility=LOG_LOCAL0;
else if(!strcmp(varvalue,"local1"))
--
Cordially,
Shadhin Rahman
--0016369202cb00c43b04657c3679
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
All,=A0=A0 While trying to install Solaris, I ran into a problem where =
I was getting error.=A0 Upon doing some research I have come up with the fo=
llowing patch.=A0 Is this going to be included in version 2.13--- s=
rc/nrpe.c.orig=A0=A0=A0=A0 2009-03-19 11:08:00.872616000 -0400
+++ src/nrpe.c=A0 2009-03-19 11:08:54.288536000 -0400@@ -614,9 =
+614,9 @@=A0=A0=A0=A0=A0=A0=A0 else if(!strcmp(varvalue,"cron&=
quot;))=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 log_facility=
=3DLOG_CRON;=A0=A0=A0=A0=A0=A0=A0 else if(!strcmp(varvalue,"au=
thpriv"))
-=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 log_facility=3DLOG_AUTHPRIV=
;+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 log_facility=3DLOG_AUT=
H;=A0=A0=A0=A0=A0=A0=A0 else if(!strcmp(varvalue,"ftp"))-=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 log_facility=3DLOG_FTP;+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 log_facility=3DLOG_DAEMO=
N;
=A0=A0=A0=A0=A0=A0=A0 else if(!strcmp(varvalue,"local0"))=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 log_facility=3DLOG_LOCAL0=
;=A0=A0=A0=A0=A0=A0=A0 else if(!strcmp(varvalue,"local1")=
)-- Cordially,Shadhin Rahman
--0016369202cb00c43b04657c3679--
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
All,
While trying to install Solaris, I ran into a problem where I was getting
error. Upon doing some research I have come up with the following patch.
Is this going to be included in version 2.13
--- src/nrpe.c.orig 2009-03-19 11:08:00.872616000 -0400
+++ src/nrpe.c 2009-03-19 11:08:54.288536000 -0400
@@ -614,9 +614,9 @@
else if(!strcmp(varvalue,"cron"))
log_facility=LOG_CRON;
else if(!strcmp(varvalue,"authpriv"))
- log_facility=LOG_AUTHPRIV;
+ log_facility=LOG_AUTH;
else if(!strcmp(varvalue,"ftp"))
- log_facility=LOG_FTP;
+ log_facility=LOG_DAEMON;
else if(!strcmp(varvalue,"local0"))
log_facility=LOG_LOCAL0;
else if(!strcmp(varvalue,"local1"))
--
Cordially,
Shadhin Rahman
--0016369202cb00c43b04657c3679
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
All,=A0=A0 While trying to install Solaris, I ran into a problem where =
I was getting error.=A0 Upon doing some research I have come up with the fo=
llowing patch.=A0 Is this going to be included in version 2.13--- s=
rc/nrpe.c.orig=A0=A0=A0=A0 2009-03-19 11:08:00.872616000 -0400
+++ src/nrpe.c=A0 2009-03-19 11:08:54.288536000 -0400@@ -614,9 =
+614,9 @@=A0=A0=A0=A0=A0=A0=A0 else if(!strcmp(varvalue,"cron&=
quot;))=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 log_facility=
=3DLOG_CRON;=A0=A0=A0=A0=A0=A0=A0 else if(!strcmp(varvalue,"au=
thpriv"))
-=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 log_facility=3DLOG_AUTHPRIV=
;+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 log_facility=3DLOG_AUT=
H;=A0=A0=A0=A0=A0=A0=A0 else if(!strcmp(varvalue,"ftp"))-=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 log_facility=3DLOG_FTP;+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 log_facility=3DLOG_DAEMO=
N;
=A0=A0=A0=A0=A0=A0=A0 else if(!strcmp(varvalue,"local0"))=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 log_facility=3DLOG_LOCAL0=
;=A0=A0=A0=A0=A0=A0=A0 else if(!strcmp(varvalue,"local1")=
)-- Cordially,Shadhin Rahman
--0016369202cb00c43b04657c3679--
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]