<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Plain Text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.5pt;
font-family:Consolas;}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-priority:99;
mso-style-link:"Plain Text";
font-family:Consolas;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
{page:Section1;}
-->
</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-IE" link="blue" vlink="purple">
<div class="Section1">
<p class="MsoNormal"><span style="color:#1F497D">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Even stranger this now only allows me to add 234 hosts. Adding 235 hosts causes the error.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">I added a another dummy host “test-host2” and it works again<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;color:#1F497D">Checking services...<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;color:#1F497D"> Checked 1339 services.<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;color:#1F497D">Checking hosts...<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;color:#1F497D">Warning: Host 'test-host' has no services associated with it!<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;color:#1F497D">Error: Contact group 'nobody' specified in host 'test-host' is not defined anywhere!<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;color:#1F497D">Warning: Host 'test-host2' has no services associated with it!<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;color:#1F497D">Error: Contact group 'nobody' specified in host 'test-host2' is not defined anywhere!<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;color:#1F497D"> Checked 235 hosts.<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;color:#1F497D">Checking host groups...<o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">I tested moving the files from the template.cfg to another .cfg file and the error reoccurs.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span style="color:#1F497D">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Conor<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
</div>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:
"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;
font-family:"Tahoma","sans-serif""> Conor Shovlin
<br>
<b>Sent:</b> 24 July 2009 10:14<br>
<b>To:</b> 'Marc Powell'; Nagios Users Mail-list<br>
<b>Subject:</b> RE: [Nagios-users] nagios host limits<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoPlainText">Hi,<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Ok we now seem to have it a little further. At your request by adding a dummy host seems to have sorted the issue.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Any thoughts as to why this may be?<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><b><span style="font-size:8.0pt">Running pre-flight check on configuration data...<o:p></o:p></span></b></p>
<p class="MsoPlainText"><b><span style="font-size:8.0pt"><o:p> </o:p></span></b></p>
<p class="MsoPlainText"><b><span style="font-size:8.0pt">Checking services...<o:p></o:p></span></b></p>
<p class="MsoPlainText"><b><span style="font-size:8.0pt"> Checked 1339 services.<o:p></o:p></span></b></p>
<p class="MsoPlainText"><b><span style="font-size:8.0pt">Checking hosts...<o:p></o:p></span></b></p>
<p class="MsoPlainText"><b><span style="font-size:8.0pt">Warning: Host 'test-host' has no services associated with it!<o:p></o:p></span></b></p>
<p class="MsoPlainText"><b><span style="font-size:8.0pt">Error: Contact group 'nobody' specified in host 'test-host' is not defined anywhere!<o:p></o:p></span></b></p>
<p class="MsoPlainText"><b><span style="font-size:8.0pt"> Checked 230 hosts.<o:p></o:p></span></b></p>
<p class="MsoPlainText"><b><span style="font-size:8.0pt">Checking host groups...<o:p></o:p></span></b></p>
<p class="MsoPlainText"><b><span style="font-size:8.0pt"> Checked 31 host groups.<o:p></o:p></span></b></p>
<p class="MsoPlainText"><b><span style="font-size:8.0pt">Checking service groups...<o:p></o:p></span></b></p>
<p class="MsoPlainText"><b><span style="font-size:8.0pt"> Checked 2 service groups.<o:p></o:p></span></b></p>
<p class="MsoPlainText"><b><span style="font-size:8.0pt">Checking contacts...<o:p></o:p></span></b></p>
<p class="MsoPlainText"><b><span style="font-size:8.0pt"> Checked 6 contacts.<o:p></o:p></span></b></p>
<p class="MsoPlainText"><b><span style="font-size:8.0pt">Checking contact groups...<o:p></o:p></span></b></p>
<p class="MsoPlainText"><b><span style="font-size:8.0pt"> Checked 1 contact groups.<o:p></o:p></span></b></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Regards,<o:p></o:p></p>
<p class="MsoPlainText">Conor<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><span lang="EN-US">-----Original Message-----<br>
From: Marc Powell [mailto:marc@ena.com] <br>
Sent: 23 July 2009 17:33<br>
To: Nagios Users Mail-list<br>
Subject: Re: [Nagios-users] nagios host limits</span><o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">On Jul 23, 2009, at 11:04 AM, Conor Shovlin wrote:<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">> Hi,<o:p></o:p></p>
<p class="MsoPlainText">><o:p> </o:p></p>
<p class="MsoPlainText">> I installed a ubuntu server and installed nagios to test our
<o:p></o:p></p>
<p class="MsoPlainText">> configuration on a new version of linux other than Fedora<o:p></o:p></p>
<p class="MsoPlainText">><o:p> </o:p></p>
<p class="MsoPlainText">> We have the same problem in that we cannot add more than 226 hosts <o:p></o:p></p>
<p class="MsoPlainText">> and we get the below error<o:p></o:p></p>
<p class="MsoPlainText">><o:p> </o:p></p>
<p class="MsoPlainText">> Processing object config file '/usr/local/nagios/etc/objects/
<o:p></o:p></p>
<p class="MsoPlainText">> xxxx.cfg'...<o:p></o:p></p>
<p class="MsoPlainText">> Error: Template 'linux-server' specified in host definition could
<o:p></o:p></p>
<p class="MsoPlainText">> not be not found (config file '/usr/local/nagios/etc/objects/
<o:p></o:p></p>
<p class="MsoPlainText">> xxxxhosts.cfg', starting on line 78)<o:p></o:p></p>
<p class="MsoPlainText">> Error processing object config files!<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">> We are running a single monitoring server. Does this mean we are
<o:p></o:p></p>
<p class="MsoPlainText">> going to have to look at our overall architecture and look at
<o:p></o:p></p>
<p class="MsoPlainText">> distributed monitoring or similar?<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">No, you don't need to. A single install of nagios can monitor
<o:p></o:p></p>
<p class="MsoPlainText">thousands of hosts and services (providing the hardware resources are
<o:p></o:p></p>
<p class="MsoPlainText">there).<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">><o:p> </o:p></p>
<p class="MsoPlainText">> Does anyone have any experience of this type of issue?<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">You've either encountered a never-before-seen bug or you have a
<o:p></o:p></p>
<p class="MsoPlainText">genuine error in your configuration files. Please post the template
<o:p></o:p></p>
<p class="MsoPlainText">definition and a host definition that references it. Please post an
<o:p></o:p></p>
<p class="MsoPlainText">'ls -l' of the config files and the results of 'egrep "^cfg_" /usr/
<o:p></o:p></p>
<p class="MsoPlainText">local/nagios/etc/nagios.cfg'.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Also try adding a dummy host in the same file that you have the
<o:p></o:p></p>
<p class="MsoPlainText">template defined --<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">define host{<o:p></o:p></p>
<p class="MsoPlainText"> use linux-server ; Name of host
<o:p></o:p></p>
<p class="MsoPlainText">template to use<o:p></o:p></p>
<p class="MsoPlainText"> host_name test-host<o:p></o:p></p>
<p class="MsoPlainText"> alias test-host<o:p></o:p></p>
<p class="MsoPlainText"> address 1.1.1.1<o:p></o:p></p>
<p class="MsoPlainText"> contact_groups nobody<o:p></o:p></p>
<p class="MsoPlainText"> }<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">--<o:p></o:p></p>
<p class="MsoPlainText">Marc<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">------------------------------------------------------------------------------<o:p></o:p></p>
<p class="MsoPlainText">_______________________________________________<o:p></o:p></p>
<p class="MsoPlainText">Nagios-users mailing list<o:p></o:p></p>
<p class="MsoPlainText">Nagios-users@lists.sourceforge.net<o:p></o:p></p>
<p class="MsoPlainText">https://lists.sourceforge.net/lists/listinfo/nagios-users<o:p></o:p></p>
<p class="MsoPlainText">::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
<o:p></o:p></p>
<p class="MsoPlainText">::: Messages without supporting info will risk being sent to /dev/null<o:p></o:p></p>
</div>
<br>
<hr>
<font face="Verdana" color="Gray" size="1"><br>
Any views given in this message are the sender's own, and do not represent the views of IT Force except where the sender specifically states them to be the views of IT Force. This e-mail should only be read by those persons to whom it is addressed. Accordingly,
we disclaim all responsibility and accept no liability (including in negligence) for the consequences of any person other than the intended recipients acting, or refraining from acting, on such information. If you have received this e-mail in error, please
accept our apologies and we simply request that you delete this document. If you have received Spam that you believe has originated in some way from IT Force, please send a complaint including the unsolicited email, to info@itforce.ie. Any form of reproduction,
dissemination, copying, disclosure, modification, distribution and/or publication of this e-mail is strictly prohibited. IT Force Limited is registered in Ireland No. 310902. Registered office, Molyneux House, Bride Street, Dublin 8.<br>
<br>
</font>
</body>
</html>