[Nagios-devel] nagios 2.12: better error handling in my_system

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
Guest

[Nagios-devel] nagios 2.12: better error handling in my_system

Post by Guest »

--_006_40FF3EB574329C459B49338F779CE44E015D2BB368bosmail2k7adv_
Content-Type: multipart/related;
boundary="_005_40FF3EB574329C459B49338F779CE44E015D2BB368bosmail2k7adv_";
type="multipart/alternative"

--_005_40FF3EB574329C459B49338F779CE44E015D2BB368bosmail2k7adv_
Content-Type: multipart/alternative;
boundary="_000_40FF3EB574329C459B49338F779CE44E015D2BB368bosmail2k7adv_"

--_000_40FF3EB574329C459B49338F779CE44E015D2BB368bosmail2k7adv_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

We're still using nagios 2 still rather than nagios 3 -- we haven't had the=
resources to go through the effort to test the upgrade. We were having pr=
oblems with nagios 2.9 where event handlers were sometimes not getting call=
ed. Some nagios log messages suggested that my_system was failing, but the=
re were no useful details in the log. I decided to pursue this by (a) upgr=
ading to nagios 2.12 and (b) adding more useful error diagnostics to my_sys=
tem in base/utils.c. As it happens, it appears that the upgrade to nagios =
2.12 solved the problem all by itself (which is odd, but what the heck, I'l=
l take it :-), but independent of that, I think the fixes to my_system for =
better error diagnostics are useful, so I'm submitting them here for the co=
nsideration of the developers who might be able to get them checked into th=
e source tree ;-). See attached.

Thanks,

[cid:[email protected]] Jonathan Kamens
Operations Manager
Tamale RMS
Advent Software, Inc.
201 South Street, Floor 3
Boston, MA 02111
617.261.0264 ext. 133 office
617.417.8989 mobile
617.812.0330 fax


--_000_40FF3EB574329C459B49338F779CE44E015D2BB368bosmail2k7adv_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:x=3D"urn:schemas-microsoft-com:office:excel" xmlns:p=3D"urn:schemas-m=
icrosoft-com:office:powerpoint" xmlns:a=3D"urn:schemas-microsoft-com:office=
:access" xmlns:dt=3D"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s=3D"=
uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs=3D"urn:schemas-microsof=
t-com:rowset" xmlns:z=3D"#RowsetSchema" xmlns:b=3D"urn:schemas-microsoft-co=
m:office:publisher" xmlns:ss=3D"urn:schemas-microsoft-com:office:spreadshee=
t" xmlns:c=3D"urn:schemas-microsoft-com:office:component:spreadsheet" xmlns=
:odc=3D"urn:schemas-microsoft-com:office:odc" xmlns:oa=3D"urn:schemas-micro=
soft-com:office:activation" xmlns:html=3D"http://www.w3.org/TR/REC-html40" =
xmlns:q=3D"http://schemas.xmlsoap.org/soap/envelope/" xmlns:D=3D"DAV:" xmln=
s:mt=3D"http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2=3D=
"http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ois=3D"http://sc=
hemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir=3D"http://schemas.micro=
soft.com/sharepoint/soap/directory/" xmlns:ds=3D"http://www.w3.org/2000/09/=
xmldsig#" xmlns:dsp=3D"http://schemas.microsoft.com/sharepoint/dsp" xmlns:u=
dc=3D"http://schemas.microsoft.com/data/udc" xmlns:xsd=3D"http://www.w3.org=
/2001/XMLSchema" xmlns:sub=3D"http://schemas.microsoft.com/sharepoint/soap/=
2002/1/alerts/" xmlns:ec=3D"http://www.w3.org/2001/04/xmlenc#" xmlns:sp=3D"=
http://schemas.microsoft.com/sharepoint/" xmlns:sps=3D"http://schemas.micro=
soft.com/sharepoint/soap/" xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-in=
stance" xmlns:udcs=3D"http://schemas.microsoft.com/data/udc/soap" xmlns:udc=
xf=3D"http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p=3D"http:/=
/schemas.microsoft.com/data/udc/parttopart" xmlns:wf=3D"http://schemas.micr=
osoft.com/sharepoint/soap/workflow/" xmlns:dsss=3D"http://schemas.microsoft=
.com/office/2006/digsig-setup" xmlns:dssi=3D"http://schemas.microsoft.com/o=
ffice/2006/digsig" xmlns:mdssi=3D"http://schemas.openxmlformats.org/package=
/2006/digital-signature" xmlns:mver=3D"http://schemas.openxmlformats.org/ma=
rkup-compatibility/2006" xmlns:m=3D"http://schemas.microsoft.com/office/

...[email truncated]...


This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked