Saturday 17 February 2018

خيارات وسيط الحدث


خيارات ملف التكوين الرئيسي.
عند إنشاء ملفات التعديل و / أو تعديلها، يجب مراعاة ما يلي:
الخطوط التي تبدأ بحرف '#' تؤخذ على أنها تعليقات ولم تتم معالجتها يجب أن تبدأ أسماء المتغيرات في بداية السطر - لا يسمح بوجود مساحة بيضاء قبل أن تكون الأسماء المتغيرة حساسة لحالة الأحرف.
تلميح: تم تركيب نموذج توصيف رئيسي (/usr/local/nagios/etc/nagios. cfg) لك عند اتباع دليل التثبيت السريع.
وعادة ما يدعى ملف التكوين الرئيسي nagios. cfg ويقع في الدليل / أسر / لوكال / ناغيوس / إتك /.
أدناه سوف تجد أوصاف كل خيار ملف التكوين ناجيوس الرئيسية.
يحدد هذا المتغير حيث يجب على ناجيوس إنشاء ملف السجل الرئيسي. يجب أن يكون هذا المتغير الأول الذي تقوم بتعريفه في ملف التهيئة الخاص بك، حيث يحاول ناجيوس كتابة الأخطاء التي يجدها في بقية بيانات التهيئة الخاصة بك إلى هذا الملف. إذا تم تمكين دوران السجل، فسيتم تدوير هذا الملف تلقائيا كل ساعة أو يوم أو أسبوع أو شهر.
يتم استخدام هذا التوجيه لتحديد ملف توصيف العنصر الذي يحتوي على تعريفات الكائن التي يجب على ناجيوس استخدامها للرصد. تحتوي ملفات تكوين الكائن على تعريفات للمضيفين والمجموعات المضيفة وجهات الاتصال ومجموعات جهات الاتصال والخدمات والأوامر وما إلى ذلك. يمكنك فصل معلومات التهيئة الخاصة بك في عدة ملفات وتحديد عدة cfg_file = بيانات لكي تتم معالجة كل منها.
يتم استخدام هذا التوجيه لتحديد الدليل الذي يحتوي على ملفات تكوين الكائن التي يجب أن ناجيوس استخدامها للرصد. تتم معالجة كافة الملفات في الدليل مع ملحق. cfg كملفات تكوين كائن. بالإضافة إلى ذلك، سوف ناجيوس بشكل متكرر معالجة كافة ملفات التكوين في الدلائل الفرعية من الدليل الذي تحدده هنا. يمكنك فصل ملفات التهيئة الخاصة بك إلى أدلة مختلفة وتحديد عدة cfg_dir = بيانات لكي تتم معالجة كافة ملفات التهيئة في كل دليل.
يتم استخدام هذا التوجيه لتحديد ملف الذي يجب تخزين نسخة مخبأة من تعريفات الكائن. يتم إنشاء ملف ذاكرة التخزين المؤقت (إعادة) في كل مرة ناجيوس هو (إعادة) بدأت وتستخدم من قبل سغيس. الغرض منه هو تسريع التخزين المؤقت ملف التكوين في سغيس وتسمح لك لتحرير ملفات التكوين كائن المصدر أثناء تشغيل ناجيوس دون التأثير على الإخراج المعروض في سغيس.
يتم استخدام هذا التوجيه لتحديد ملف يجب أن يتم تخزين نسخة مسبقة المعالجة مسبقا من تعريفات الكائنات. يمكن استخدام هذا الملف بشكل كبير لتحسين أوقات بدء التشغيل في المنشآت الكبيرة / المعقدة ناجيوس. اقرأ المزيد من المعلومات حول كيفية تسريع أوقات البدء هنا.
يتم استخدام هذا لتحديد ملف مورد اختياري يمكن أن يحتوي على تعريفات ماكرو $ وسرن $. أوس $ $ وحدات الماكرو مفيدة لتخزين أسماء المستخدمين وكلمات المرور، والعناصر التي يشيع استخدامها في تعريفات الأوامر (مثل مسارات الدليل). لن تحاول سغيس قراءة ملفات الموارد، حتى تتمكن من تعيين أذونات تقييدية (600 أو 660) عليها لحماية المعلومات الحساسة. يمكنك تضمين ملفات موارد متعددة عن طريق إضافة عدة بيانات resources_file إلى ملف التكوين الرئيسي - سوف ناجيوس معالجة كل منهم. راجع نموذج ملف resource. cfg في نموذج-تكوين / دليل فرعي لتوزيع ناجيوس للحصول على مثال لكيفية تعريف $ وحدات الماكرو $ أوسرن.
هذا ملف مؤقت ينشئه ناجيوس بشكل دوري لاستخدامه عند تحديث بيانات التعليق وبيانات الحالة وما إلى ذلك. يتم حذف الملف عند عدم الحاجة إليه.
هذا هو الدليل الذي ناجيوس يمكن استخدام مساحة الصفر لإنشاء ملفات مؤقتة تستخدم أثناء عملية الرصد. يجب تشغيل تمبواتش، أو أداة مماثلة، في هذا الدليل أوكاسيونالي لحذف الملفات أقدم من 24 ساعة.
هذا هو الملف الذي يستخدمه ناجيوس لتخزين الحالة الحالية، والتعليق، ومعلومات التوقف. يتم استخدام هذا الملف من قبل سغيس بحيث يمكن الإبلاغ عن حالة الرصد الحالية عبر واجهة ويب. يجب أن يكون سغييس الوصول للقراءة إلى هذا الملف من أجل العمل بشكل صحيح. يتم حذف هذا الملف في كل مرة يتوقف ناجيوس وإعادة إنشائه عند بدء تشغيله.
يحدد هذا الإعداد عدد المرات التي سيحدث فيها ناجيوس بيانات الحالة في ملف الحالة (بالثواني). الحد الأدنى الفاصل الزمني للتحديث هو 1 ثانية.
يستخدم هذا لتعيين المستخدم الفعال الذي يجب تشغيل عملية ناجيوس كما. بعد بدء تشغيل البرنامج الأولي وقبل البدء في مراقبة أي شيء، سوف ناجيوس إسقاط امتيازات فعالة وتشغيل مثل هذا المستخدم. يمكنك تحديد إما اسم مستخدم أو إيد.
يتم استخدام هذا لتعيين المجموعة الفعالة التي يجب تشغيل عملية ناجيوس كما. بعد بدء تشغيل البرنامج الأولي وقبل البدء في مراقبة أي شيء، سوف ناجيوس إسقاط امتيازات فعالة وتشغيل مثل هذه المجموعة. يمكنك تحديد اسم مجموعة أو إدارة معلومات عامة.
يحدد هذا الخيار ما إذا كان ناجيوس سيرسل إشعارات عند بدء تشغيله (إعادة) في البداية. إذا تم تعطيل هذا الخيار، فلن ترسل ناجيوس إشعارات لأي مضيف أو خدمة. ملاحظة: إذا كان لديك الاحتفاظ بالبيانات ممكنا، فسيتجاهل ناجيوس هذا الإعداد عند بدء تشغيل (إعادة) واستخدام آخر إعداد معروف لهذا الخيار (كما تم تخزينه في ملف الاحتفاظ بالولاية)، إلا إذا قمت بتعطيل الخيار use_retained_program_state. إذا كنت تريد تغيير هذا الخيار عندما يكون الاحتفاظ بالبيانات نشطا (وتم تمكين use_retained_program_state)، فسيتعين عليك استخدام الأمر الخارجي المناسب أو تغييره عبر واجهة الويب. القيم هي كما يلي:
0 = تعطيل الإخطارات 1 = تمكين الإخطارات (الافتراضي)
يحدد هذا الخيار ما إذا كان ناجيوس سيقوم بتنفيذ عمليات فحص الخدمة عندما يبدأ (إعادة) في البداية. في حالة تعطيل هذا الخيار، لن يقوم ناجيوس بتنفيذ أي عمليات تحقق من الخدمة وسيبقى في وضع "النوم" (لا يزال بإمكانه قبول الشيكات السلبية إلا إذا قمت بتعطيلها). وكثيرا ما يستخدم هذا الخيار عند تكوين خوادم مراقبة النسخ الاحتياطي، كما هو موضح في وثائق التكرار، أو عند إعداد بيئة رصد موزعة. ملاحظة: إذا كان لديك الاحتفاظ بالبيانات ممكنا، فسيتجاهل ناجيوس هذا الإعداد عند بدء تشغيل (إعادة) واستخدام آخر إعداد معروف لهذا الخيار (كما تم تخزينه في ملف الاحتفاظ بالولاية)، إلا إذا قمت بتعطيل الخيار use_retained_program_state. إذا كنت تريد تغيير هذا الخيار عندما يكون الاحتفاظ بالبيانات نشطا (وتم تمكين use_retained_program_state)، فسيتعين عليك استخدام الأمر الخارجي المناسب أو تغييره عبر واجهة الويب. القيم هي كما يلي:
0 = لا تنفذ شيكات الخدمة 1 = تنفيذ عمليات فحص الخدمة (افتراضي)
يحدد هذا الخيار ما إذا كان ناجيوس سيوافق على عمليات التحقق من الخدمة السلبية عندما يبدأ (إعادة) البداية. إذا تم تعطيل هذا الخيار، لن يقبل ناجيوس أي عمليات تحقق من الخدمة السلبية. ملاحظة: إذا كان لديك الاحتفاظ بالبيانات ممكنا، فسيتجاهل ناجيوس هذا الإعداد عند بدء تشغيل (إعادة) واستخدام آخر إعداد معروف لهذا الخيار (كما تم تخزينه في ملف الاحتفاظ بالولاية)، إلا إذا قمت بتعطيل الخيار use_retained_program_state. إذا كنت تريد تغيير هذا الخيار عندما يكون الاحتفاظ بالبيانات نشطا (وتم تمكين use_retained_program_state)، فسيتعين عليك استخدام الأمر الخارجي المناسب أو تغييره عبر واجهة الويب. القيم هي كما يلي:
0 = لا تقبل شيكات الخدمة المنفعلة 1 = تقبل عمليات التحقق من الخدمة السلبية (افتراضي)
يحدد هذا الخيار ما إذا كانت ناجيوس ستنفذ عمليات التحقق عند الطلب وتحدد مواعيدها بانتظام عندما تبدأ (ري) في البداية. إذا تم تعطيل هذا الخيار، فلن يقوم ناجيوس بتنفيذ أي عمليات تحقق مضيفة بشكل نشط، على الرغم من أنه لا يزال بإمكانه قبول عمليات التحقق من المضيفات المنفعلة إلا إذا قمت بتعطيلها). وكثيرا ما يستخدم هذا الخيار عند تكوين خوادم مراقبة النسخ الاحتياطي، كما هو موضح في وثائق التكرار، أو عند إعداد بيئة رصد موزعة. ملاحظة: إذا كان لديك الاحتفاظ بالبيانات ممكنا، فسيتجاهل ناجيوس هذا الإعداد عند بدء تشغيل (إعادة) واستخدام آخر إعداد معروف لهذا الخيار (كما تم تخزينه في ملف الاحتفاظ بالولاية)، إلا إذا قمت بتعطيل الخيار use_retained_program_state. إذا كنت تريد تغيير هذا الخيار عندما يكون الاحتفاظ بالبيانات نشطا (وتم تمكين use_retained_program_state)، فسيتعين عليك استخدام الأمر الخارجي المناسب أو تغييره عبر واجهة الويب. القيم هي كما يلي:
0 = عدم تنفيذ شيكات المضيف 1 = تنفيذ عمليات فحص المضيف (افتراضي)
يحدد هذا الخيار ما إذا كان ناجيوس سيوافق على عمليات التحقق من المضيف المنفعل عند بدء تشغيل (ري) مبدئيا أم لا. في حالة تعطيل هذا الخيار، لن يقبل ناجيوس أي شيكات مضيفة للمضيف. ملاحظة: إذا كان لديك الاحتفاظ بالبيانات ممكنا، فسيتجاهل ناجيوس هذا الإعداد عند بدء تشغيل (إعادة) واستخدام آخر إعداد معروف لهذا الخيار (كما تم تخزينه في ملف الاحتفاظ بالولاية)، إلا إذا قمت بتعطيل الخيار use_retained_program_state. إذا كنت تريد تغيير هذا الخيار عندما يكون الاحتفاظ بالبيانات نشطا (وتم تمكين use_retained_program_state)، فسيتعين عليك استخدام الأمر الخارجي المناسب أو تغييره عبر واجهة الويب. القيم هي كما يلي:
0 = لا تقبل الشيكات المضيف السلبي 1 = قبول الشيكات المضيف السلبية (الافتراضي)
يحدد هذا الخيار ما إذا كان ناجيوس سيقوم بتشغيل معالجات الأحداث عند بدء تشغيل (ري) مبدئيا أم لا. إذا تم تعطيل هذا الخيار، لن يقوم ناجيوس بتشغيل أي مضيفات حدث أو خدمة حدث. ملاحظة: إذا كان لديك الاحتفاظ بالبيانات ممكنا، فسيتجاهل ناجيوس هذا الإعداد عند بدء تشغيل (إعادة) واستخدام آخر إعداد معروف لهذا الخيار (كما تم تخزينه في ملف الاحتفاظ بالولاية)، إلا إذا قمت بتعطيل الخيار use_retained_program_state. إذا كنت تريد تغيير هذا الخيار عندما يكون الاحتفاظ بالبيانات نشطا (وتم تمكين use_retained_program_state)، فسيتعين عليك استخدام الأمر الخارجي المناسب أو تغييره عبر واجهة الويب. القيم هي كما يلي:
0 = تعطيل معالجات الأحداث 1 = تمكين معالجات الأحداث (افتراضي)
هذه هي طريقة الدوران التي تريد أن يستخدمها ناجيوس لملف السجل. القيم هي كما يلي:
n = لا يوجد (لا تدور السجل - هذا هو الافتراضي) h = ساعة (تدوير السجل في أعلى كل ساعة) d = يوميا (تدوير السجل في منتصف الليل كل يوم) w = ويكلي (تدوير السجل في منتصف الليل يوم السبت) م = شهريا (تدوير السجل في منتصف الليل في اليوم الأخير من الشهر)
هذا هو الدليل حيث يجب على ناجيوس وضع ملفات السجل التي تم تدويرها. يتم تجاهل هذا الخيار إذا اخترت عدم استخدام وظيفة دوران السجل.
يحدد هذا الخيار ما إذا كان ناجيوس سوف يتحقق من ملف الأوامر للأوامر التي يجب تنفيذها. يجب تمكين هذا الخيار إذا كنت تخطط لاستخدام الأمر سغي لإصدار الأوامر عبر واجهة الويب. يمكن العثور على مزيد من المعلومات حول الأوامر الخارجية هنا.
0 = لا تحقق الأوامر الخارجية 1 = تحقق الأوامر الخارجية (الافتراضي)
إذا حددت رقما يحتوي على "s" أرفق به (أي 30 ثانية)، فهذا هو عدد الثواني التي يجب الانتظار فيها بين عمليات التحقق من الأوامر الخارجية. إذا تركت قبالة "s"، وهذا هو عدد "وحدات الوقت" الانتظار بين التحقق من الأوامر الخارجية. إلا إذا قمت بتغيير قيمة interval_length (كما هو موضح أدناه) من القيمة الافتراضية 60، فإن هذا الرقم يعني دقائق.
ملاحظة: من خلال تعيين هذه القيمة إلى -1، سوف تحقق ناجيوس من الأوامر الخارجية قدر الإمكان. في كل مرة يتحقق ناجيوس للأوامر الخارجية سوف قراءة ومعالجة جميع الأوامر الموجودة في ملف الأوامر قبل الاستمرار في مع واجبات أخرى. يمكن العثور على مزيد من المعلومات حول الأوامر الخارجية هنا.
هذا هو الملف الذي سيقوم ناجيوس بالتحقق من الأوامر الخارجية لمعالجته. الأمر سغي يكتب الأوامر إلى هذا الملف. يتم تنفيذ ملف الأوامر الخارجية كأنبوب اسمه (فيفو)، والذي يتم إنشاؤه عند بدء تشغيل ناجيوس وإزالته عند إيقاف تشغيله. إذا كان الملف موجودا عند بدء ناجيوس، سيتم إنهاء عملية ناجيوس برسالة خطأ. يمكن العثور على مزيد من المعلومات حول الأوامر الخارجية هنا.
ملاحظة: هذه ميزة متقدمة. يحدد هذا الخيار كم عدد فتحات المخزن المؤقت سوف ناجيوس احتياطي لتخزين الأوامر الخارجية التي تم قراءتها من ملف الأوامر الخارجية بواسطة مؤشر ترابط عامل ولكن لم تتم معالجتها بواسطة مؤشر الترابط الرئيسي ناجيوس ديمون. يمكن لكل فتحة عقد أمر خارجي واحد، لذلك يحدد هذا الخيار بشكل أساسي عدد الأوامر التي يمكن تخزينها مؤقتا. بالنسبة إلى المنشآت التي تعالج فيها عددا كبيرا من الشيكات السلبية (مثل الإعدادات الموزعة)، قد تحتاج إلى زيادة هذا الرقم. يجب أن تنظر في استخدام مرتغ لرسم بياني استخدام ناجيوس من مخازن الأوامر الخارجية. يمكنك قراءة المزيد عن كيفية تكوين الرسوم البيانية هنا.
يحدد هذا الخيار ما إذا كان ناجيوس سيتحقق تلقائيا لمعرفة ما إذا كانت التحديثات الجديدة (الإصدارات) متاحة أم لا. من المستحسن تمكين هذا الخيار لضمان البقاء على رأس أحدث التصحيحات الهامة ل ناجيوس. ناجيوس أمر بالغ الأهمية بالنسبة لك - تأكد من الاحتفاظ بها في حالة جيدة. سوف تحقق ناجيوس مرة واحدة في اليوم للحصول على تحديثات جديدة. تتم معالجة البيانات التي تم جمعها من قبل ناجيوس الشركات من الاختيار التحديث وفقا لسياسة الخصوصية لدينا - انظر api. nagios للحصول على التفاصيل.
يحدد هذا الخيار البيانات التي سترسلها ناجيوس إلى api. nagios عند التحقق من وجود تحديثات. افتراضيا، سوف ناجيوس إرسال معلومات عن الإصدار الحالي من ناجيوس قمت بتثبيته، فضلا عن مؤشر ما إذا كان هذا التثبيت الجديد أم لا. تستخدم ناجيوس الشركات هذه البيانات لتحديد عدد المستخدمين تشغيل إصدار محدد من ناجيوس. قم بتمكين هذا الخيار إذا كنت لا ترغب في إرسال هذه المعلومات.
يحدد هذا الخيار موقع ملف القفل الذي يجب أن ينشئه ناجيوس عند تشغيله كخفي (عند بدء تشغيله مع وسيط سطر الأوامر - d). يحتوي هذا الملف على رقم معرف العملية (بيد) لعملية تشغيل ناجيوس.
يحدد هذا الخيار ما إذا كان ناجيوس سيحتفظ بمعلومات الحالة للمضيف والخدمات بين إعادة تشغيل البرنامج أم لا. إذا قمت بتمكين هذا الخيار، يجب توفير قيمة للمتغير state_retention_file. عند التمكين، سيقوم ناجيوس بحفظ جميع معلومات الولاية الخاصة بالمضيفين والخدمة قبل إيقاف تشغيلها (أو إعادة تشغيلها) وسيتم قراءتها في معلومات الحالة المحفوظة سابقا عند بدء التشغيل مرة أخرى.
0 = لا تحتفظ بمعلومات الحالة 1 = الاحتفاظ بمعلومات الحالة (افتراضي)
هذا هو الملف الذي سيستخدمه ناجيوس لتخزين الحالة، والتوقف، ومعلومات التعليق قبل إيقاف تشغيله. عند إعادة تشغيل ناجيوس فإنه سيتم استخدام المعلومات المخزنة في هذا الملف لتحديد الحالات الأولية من الخدمات والمضيفين قبل أن يبدأ مراقبة أي شيء. من أجل جعل ناجيوس يحتفظ بمعلومات الدولة بين إعادة تشغيل البرنامج، يجب تمكين الخيار keep_state_information.
يحدد هذا الإعداد عدد المرات التي ستحفظ فيها ناجيوس بيانات الاحتفاظ تلقائيا أثناء التشغيل العادي (بالدقائق). إذا عينت هذه القيمة على 0، فلن تحفظ ناجيوس بيانات الاحتفاظ على فترات منتظمة، ولكنها ستظل تحفظ بيانات الاحتفاظ قبل إيقاف التشغيل أو إعادة التشغيل. إذا قمت بتعطيل الاحتفاظ بالدولة (مع خيار keep_state_information)، هذا الخيار ليس له أي تأثير.
يحدد هذا الإعداد ما إذا كان ناجيوس سيقوم بتعيين متغيرات حالة مختلفة على مستوى البرنامج استنادا إلى القيم المحفوظة في ملف الاحتفاظ. بعض متغيرات الحالة على نطاق البرنامج هذه التي يتم حفظها عادة عبر إعادة تشغيل البرنامج إذا تم تمكين الاحتفاظ بالاحتفاظ تتضمن خيارات التمكين، التمكين_flap_detection، enable_event_handlers، execute_service_checks، و_p_p_picive_service_checks. إذا لم يكن لديك الاحتفاظ بالبيانات ممكنا، فلن يكون لهذا الخيار أي تأثير.
0 = لا تستخدم حالة البرنامج المحتفظ بها 1 = استخدام حالة البرنامج المحتفظ بها (افتراضي)
يحدد هذا الإعداد ما إذا كان ناجيوس سيحتفظ بمعلومات الجدولة (أوقات الشيك التالية) للمضيفين والخدمات عند إعادة التشغيل. إذا كنت تقوم بإضافة عدد كبير (أو النسبة المئوية) من المضيفين والخدمات، فإنني أوصي تعطيل هذا الخيار عند إعادة تشغيل ناجيوس أولا، لأنه يمكن أن يؤدي إلى انحراف سلبا انتشار الشيكات الأولية. وإلا فإنك ربما تريد تركه ممكنا.
0 = لا تستخدم معلومات الجدولة المستبقاة 1 = استخدام معلومات الجدولة المستبقاة (افتراضي)
تحذير: هذه ميزة متقدمة. ستحتاج إلى قراءة شفرة مصدر ناجيوس لاستخدام هذا الخيار بفعالية.
تحدد هذه الخيارات سمات المضيف أو الخدمة التي لا يتم الاحتفاظ بها عبر إعادة تشغيل البرنامج. قيم هذه الاختيارات هي قيم بيتويز و القيم المحددة بواسطة تعريفات "MODATTR_" في ملف التعليمات البرمجية المصدر إينلود / common. h. افتراضيا، يتم الاحتفاظ بجميع سمات المضيف والخدمة.
تحذير: هذه ميزة متقدمة. ستحتاج إلى قراءة شفرة مصدر ناجيوس لاستخدام هذا الخيار بفعالية.
تحدد هذه الخيارات سمات العملية التي لا يتم الاحتفاظ بها عبر إعادة تشغيل البرنامج. هناك نوعان من الأقنعة لأن هناك في كثير من الأحيان سمات منفصلة المضيف والخدمة العملية التي يمكن تغييرها. على سبيل المثال، يمكن تعطيل عمليات التحقق من المضيف على مستوى البرنامج، في حين لا تزال عمليات التحقق من الخدمة ممكنة. قيم هذه الاختيارات هي قيم بيتويز و القيم المحددة بواسطة تعريفات "MODATTR_" في ملف التعليمات البرمجية المصدر إينلود / common. h. افتراضيا، يتم الاحتفاظ بجميع سمات العملية.
تحذير: هذه ميزة متقدمة. ستحتاج إلى قراءة شفرة مصدر ناجيوس لاستخدام هذا الخيار بفعالية.
تحدد هذه الخيارات سمات الاتصال التي لا يتم الاحتفاظ بها عبر إعادة تشغيل البرنامج. هناك نوعان من الأقنعة لأن هناك في كثير من الأحيان سمات اتصال المضيف والخدمات التي يمكن تغييرها. قيم هذه الاختيارات هي قيم بيتويز و القيم المحددة بواسطة تعريفات "MODATTR_" في ملف التعليمات البرمجية المصدر إينلود / common. h. افتراضيا، يتم الاحتفاظ بجميع سمات العملية.
يحدد هذا المتغير ما إذا تم تسجيل الرسائل إلى منشأة سجل النظام على المضيف المحلي. القيم هي كما يلي:
0 = لا تستخدم منشأة سجل النظام 1 = استخدام منشأة سجل النظام.
يحدد هذا المتغير ما إذا كان يتم تسجيل رسائل الإعلام أم لا. إذا كان لديك الكثير من الاتصالات أو فشل الخدمة العادية ملف سجل الخاص بك وسوف تنمو بسرعة نسبيا. استخدم هذا الخيار لمنع تسجيل إشعارات الاتصال.
0 = لا تسجل الإخطارات 1 = تسجيل الإخطارات.
يحدد هذا المتغير ما إذا كان يتم تسجيل عمليات إعادة محاولة التحقق من الخدمة أم لا. تحدث عمليات إعادة التحقق من خدمة الخدمة عند تحقق خدمة تحقق في حالة غير موافق، ولكن قمت بتكوين ناجيوس لإعادة محاولة الخدمة أكثر من مرة قبل الرد على الخطأ. وتعتبر الخدمات في هذه الحالة في حالة "ناعمة". تحقق إعادة المحاولة التحقق من خدمة خدمة مفيدة في الغالب عند محاولة تصحيح أخطاء ناجيوس أو اختبار معالجات أحداث الخدمة.
0 = عدم تسجيل عمليات إعادة محاولة التحقق من الخدمة 1 = إعادة محاولة التحقق من خدمة السجل.
يحدد هذا المتغير ما إذا كان يتم تسجيل عمليات إعادة محاولة التحقق من المضيف أم لا. تكون عمليات إعادة محاولة التحقق من المضيف المضيف مفيدة في الغالب عند محاولة تصحيح أخطاء ناجيوس أو اختبار معالجات أحداث المضيف.
0 = عدم تسجيل عمليات إعادة محاولة التحقق من المضيف 1 = إعادة محاولة التحقق من المضيف المضيف.
يحدد هذا المتغير ما إذا كان يتم تسجيل معالجات أحداث الخدمة والمضيف. معالجات الأحداث هي الأوامر الاختيارية التي يمكن تشغيلها عندما تتغير خدمة أو مضيف الحالة. تعد معالجات أحداث التسجيل مفيدة للغاية عند تصحيح أخطاء ناجيوس أو محاولة استخدام النصوص البرمجية لمعالج الأحداث لأول مرة.
0 = عدم تسجيل معالجات الأحداث 1 = معالجات أحداث السجل.
يحدد هذا المتغير ما إذا كان ناجيوس سيجبر جميع حالات المضيف والخدمات الأولية على أن يتم تسجيلها، حتى إذا كانت تؤدي إلى حالة موافق. وعادة ما يتم تسجيل الخدمة الأولية والدول المضيفة فقط عند وجود مشكلة في الاختيار الأول. يعد تمكين هذا الخيار مفيدا إذا كنت تستخدم أحد التطبيقات التي تقوم بمسح ملف السجل لتحديد إحصاءات الحالة طويلة الأمد للخدمات والمضيفات.
0 = لا تقم بتسجيل الحالات الأولية (افتراضي) 1 = الحالات الأولية لتسجيل الدخول.
يحدد هذا المتغير ما إذا كان ناجيوس سيتم تسجيل الأوامر الخارجية التي يتلقاها من ملف الأمر الخارجي. ملاحظة: لا يتحكم هذا الخيار في ما إذا كان يتم تسجيل عمليات التحقق من الخدمة السلبية (أي نوع من الأوامر الخارجية). لتمكين أو تعطيل تسجيل عمليات التحقق السلبي، استخدم الخيار log_passive_checks.
0 = عدم تسجيل الأوامر الخارجية 1 = تسجيل الأوامر الخارجية (افتراضي)
يحدد هذا المتغير ما إذا كان ناجيوس سيتم تسجيل المضيف السلبي وعمليات التحقق من الخدمة التي يتلقاها من ملف الأوامر الخارجية. إذا كنت تقوم بإعداد بيئة مراقبة موزعة أو تخطط للتعامل مع عدد كبير من عمليات التحقق المنفعلة بشكل منتظم، فقد ترغب في تعطيل هذا الخيار حتى لا يكون ملف السجل كبيرا جدا.
0 = لا تسجل الشيكات المنفعلة 1 = تسجيل الشيكات المنفعلة (افتراضي)
يتيح لك هذا الخيار تحديد أمر معالج أحداث مضيف يتم تشغيله لكل تغيير حالة مضيف. يتم تنفيذ معالج الحدث العالمي مباشرة قبل معالج الحدث الذي قمت بتحديده اختياريا في كل تعريف المضيف. وسيطة الأمر هي الاسم القصير لأمر تقوم بتعريفه في ملف توصيف الكائن الخاص بك. يتم التحكم في الحد الأقصى من الوقت الذي يمكن تشغيل هذا الأمر بواسطة الخيار event_handler_timeout. يمكن العثور على مزيد من المعلومات حول معالجات الأحداث هنا.
يتيح لك هذا الخيار تحديد أمر معالج أحداث الخدمة الذي سيتم تشغيله لكل تغيير حالة خدمة. يتم تنفيذ معالج الحدث العالمي مباشرة قبل معالج الحدث الذي قمت بتحديده اختياريا في كل تعريف خدمة. وسيطة الأمر هي الاسم القصير لأمر تقوم بتعريفه في ملف توصيف الكائن الخاص بك. يتم التحكم في الحد الأقصى من الوقت الذي يمكن تشغيل هذا الأمر بواسطة الخيار event_handler_timeout. يمكن العثور على مزيد من المعلومات حول معالجات الأحداث هنا.
هذا هو عدد الثواني التي ينامها ناجيوس قبل التحقق لمعرفة ما إذا كان يجب تنفيذ التحقق من الخدمة أو المضيف التالي في قائمة انتظار الجدولة. لاحظ أن ناجيوس سوف ينام فقط بعد أن "اللحاق" مع الشيكات خدمة الانتظار التي تخلفت.
يتيح لك هذا الخيار التحكم في كيفية "فحص" عمليات التحقق من الخدمة في قائمة الانتظار. استخدام حساب "سمارت" تأخير (الافتراضي) سوف يسبب ناجيوس لحساب متوسط ​​الفاصل الزمني الشيك وانتشار الشيكات الأولية من جميع الخدمات على مدى تلك الفترة، مما يساعد على القضاء على ارتفاع الحمل وحدة المعالجة المركزية. لا ينصح باستخدام أي تأخير بشكل عام، حيث أنه سيتسبب في جدولة جميع عمليات التحقق من الخدمة للتنفيذ في نفس الوقت. وهذا يعني أن لديك عموما المسامير وحدة المعالجة المركزية الكبيرة عندما يتم تنفيذ جميع الخدمات بالتوازي. ويمكن الاطلاع على مزيد من المعلومات عن كيفية تقدير التأخير في التحقق من صحة جدولة التحقق من الخدمة هنا. القيم هي كما يلي:
n = لا تستخدم أي تأخير - جدولة جميع فحوصات الخدمة للتشغيل فورا (أي في نفس الوقت!) d = استخدام تأخير "غبي" لمدة ثانية واحدة بين عمليات التحقق من الخدمة s = استخدام حساب "تأخير" يتحقق بشكل متساو (افتراضي) x. xx = استخدم تأخير التحقق المشترك المقدم من المستخدم x xxx ثانية.
يحدد هذا الخيار الحد الأقصى لعدد الدقائق من عندما يبدأ ناجيوس أن يتم فحص جميع الخدمات (التي من المقرر أن يتم فحصها بانتظام). سيقوم هذا الخيار تلقائيا بضبط طريقة تأخير التحقق من الخدمة (إذا لزم الأمر) للتأكد من أن عمليات التحقق الأولية لجميع الخدمات تحدث ضمن الإطار الزمني الذي تحدده. بشكل عام، لن يكون لهذا الخيار تأثير على جدولة التحقق من الخدمة إذا تم الاحتفاظ بجدولة المعلومات باستخدام الخيار use_retained_scheduling_info. القيمة الافتراضية هي 30 (دقيقة).
يحدد هذا المتغير كيفية تشابك عمليات التحقق من الخدمة. ويسمح التشذير بتوزيع شيكات الخدمة بشكل أكبر، وتقليل الحمل على المضيفين البعيدين، والإسراع بشكل عام في اكتشاف مشاكل المضيف. تعيين هذه القيمة إلى 1 ما يعادل عدم تشذير فحص الخدمة (هذه هي الطريقة من إصدارات ناجيوس السابقة إلى 0.0.5 عملت). قم بتعيين هذه القيمة إلى s (ذكية) للحساب التلقائي لعامل التشذير ما لم يكن لديك سبب محدد لتغييره. إن أفضل طريقة لفهم كيفية عمل التشذير هي مشاهدة الحالة سغي (عرض تفصيلي) عندما يبدأ ناجيوس للتو. يجب أن ترى أن نتائج فحص الخدمة يتم نشرها عند ظهورها. ويمكن الاطلاع على مزيد من المعلومات عن كيفية عمل أعمال التشذير هنا. x = عدد أكبر من أو يساوي 1 يحدد عامل التشذير المطلوب استخدامه. ويعادل عامل التشذير 1 عدم تشذير شيكات الخدمة. s = استخدام حساب عامل "إنتيرليف" (افتراضي)
يتيح لك هذا الخيار تحديد الحد الأقصى لعدد عمليات فحص الخدمة التي يمكن تشغيلها بالتوازي في أي وقت معين. تحديد قيمة 1 لهذا المتغير يمنع أساسا تشغيل أية عمليات تحقق خدمة بالتوازي. تحديد قيمة 0 (الافتراضي) لا يضع أي قيود على عدد من الشيكات المتزامنة. سيتعين عليك تعديل هذه القيمة استنادا إلى موارد النظام المتوفرة لديك على الجهاز الذي يقوم بتشغيل ناجيوس، لأنه يؤثر بشكل مباشر على الحمل الأقصى الذي سيتم فرضه على النظام (استخدام المعالج والذاكرة وما إلى ذلك). يمكنك العثور على مزيد من المعلومات حول كيفية تقدير عدد الشيكات المتزامنة التي يجب السماح بها هنا.
هذا الخيار يسمح لك للسيطرة على تردد في ثوان من نتيجة الاختيار "ريبر" الأحداث. تقوم أحداث "ريبر" بمعالجة النتائج من عمليات فحص المضيف والخدمة التي انتهت من التنفيذ. هذه الأحداث تشكل جوهر منطق المراقبة في ناجيوس.
هذا الخيار يسمح لك للسيطرة على أقصى قدر من الوقت في ثوان التي المضيف والخدمة تحقق نتيجة يسمح "ريبر" الأحداث لتشغيل. تقوم أحداث "ريبر" بمعالجة النتائج من عمليات فحص المضيف والخدمة التي انتهت من التنفيذ. إذا كان هناك الكثير من النتائج لمعالجة، أحداث ريبر قد يستغرق وقتا طويلا لإنهاء، الأمر الذي قد يؤخر التنفيذ في الوقت المناسب من المضيف الجديد والخدمة الشيكات. هذا المتغير يسمح لك للحد من مقدار الوقت الذي سيتم تشغيل الحدث حصادة الفردية قبل أن يسيطر على العودة إلى ناجيوس لأجزاء أخرى من منطق المراقبة.
تحدد هذه الخيارات الدليل الذي ستستخدمه ناجيوس لتخزين المضيف مؤقتا ونتائج فحص الخدمة قبل معالجتها. لا ينبغي استخدام هذا الدليل لتخزين أي ملفات أخرى، حيث سيقوم ناجيوس بتنظيف هذا الدليل من الملف القديم بشكل دوري (راجع الخيار max_check_result_file_age لمزيد من المعلومات).
ملاحظة: تأكد من أن مثيل واحد فقط من ناجيوس لديه حق الوصول إلى مسار نتيجة الاختيار. إذا كان مثيلات متعددة من ناجيوس مسار مسار الاختيار تعيين إلى نفس الدليل، سوف تواجه مشاكل مع نتائج الاختيار التي تتم معالجتها (بشكل غير صحيح) من قبل المثال الخطأ ناجيوس!
تحدد هذه الخيارات الحد الأقصى للعمر بالثواني التي سينظر فيها ناجيوس في ملفات نتائج التحقق الموجودة في دليل check_result_path لتكون صالحة. تحقق من ملفات النتائج القديمة التي سيتم حذف هذه العتبة من قبل ناجيوس ولن تتم معالجة نتائج الاختيار التي تحتوي عليها. باستخدام قيمة صفر (0) مع هذا الخيار، سوف ناجيوس معالجة جميع الملفات نتيجة الاختيار - حتى لو كانوا أقدم من جهازك :-).
يسمح لك هذا الخيار بالتحكم في كيفية إجراء عمليات التحقق من المضيف التي يتم التحقق منها بشكل دوري في البداية. استخدام حساب "الذكية" تأخير (الافتراضي) سوف يسبب ناجيوس لحساب متوسط ​​الفاصل الزمني الشيك وانتشار الشيكات الأولية من جميع المضيفين من خلال هذا الفاصل الزمني، مما يساعد على القضاء على المسامير الحمل وحدة المعالجة المركزية. لا ينصح عموما باستخدام أي تأخير. يؤدي استخدام أي تأخير إلى جدولة جميع عمليات تدقيق المضيف لتنفيذها في نفس الوقت. يمكن العثور على مزيد من المعلومات حول كيفية تقدير كيفية تأثير التأخير في التحقق من جدولة التحقق من المضيف هنا. القيم هي كما يلي:
n = عدم استخدام أي تأخير - جدولة جميع فحوص المضيف لتشغيلها فورا (أي في نفس الوقت!) d = استخدام تأخير "غبي" لمدة ثانية واحدة بين عمليات التحقق من المضيف s = استخدام حساب "تأخير" يتحقق بشكل متساو (افتراضي) x. xx = استخدم تأخير التحقق المشترك المقدم من المستخدم x xxx ثانية.
يحدد هذا الخيار الحد الأقصى لعدد الدقائق من عند بدء ناجيوس أن يتم فحص جميع المضيفين (التي من المقرر أن يتم التحقق بانتظام). سيقوم هذا الخيار تلقائيا بضبط طريقة تأخير الفحص المشترك للمضيف (إذا لزم الأمر) للتأكد من أن عمليات التحقق الأولية لجميع المضيفات تحدث ضمن الإطار الزمني الذي تحدده. بشكل عام، لن يكون لهذا الخيار تأثير على جدولة التحقق من المضيف إذا تم الاحتفاظ بجدولة المعلومات باستخدام الخيار use_retained_scheduling_info. القيمة الافتراضية هي 30 (دقيقة).
هذا هو عدد الثواني لكل "فاصل وحدة" المستخدم للتوقيت في قائمة انتظار الجدولة وإعادة الإشعارات وما إلى ذلك. يتم استخدام "فترات الفترات" في ملف توصيف الكائن لتحديد عدد المرات التي يتم فيها تشغيل فحص الخدمة، - تحديد جهة اتصال، وما إلى ذلك.
هام: يتم تعيين القيمة الافتراضية لهذا إلى 60، مما يعني أن "قيمة الوحدة" من 1 في ملف تكوين الكائن يعني 60 ثانية (دقيقة واحدة). أنا لم اختبر حقا قيم أخرى لهذا المتغير، لذلك المضي قدما على مسؤوليتك الخاصة إذا قررت أن تفعل ذلك!
يحدد هذا الخيار ما إذا كان ناجيوس سيحاول إعادة جدولة عمليات الفحص المضيف والخدمة النشطة تلقائيا إلى "تسهيل" إخراجها بمرور الوقت. وهذا يمكن أن يساعد على تحقيق التوازن بين الحمل على خادم الرصد، كما أنها سوف تحاول الحفاظ على الوقت بين الشيكات متتالية متسقة، على حساب تنفيذ الشيكات على جدول أكثر صلابة.
تحذير: هذا هو ميزة تجريبية ويمكن إزالتها في الإصدارات المستقبلية. تمكين هذا الخيار يمكن أن تتحلل الأداء - أكثر من زيادة ذلك - إذا كان يستخدم بشكل غير صحيح!
يحدد هذا الخيار عدد المرات التي سيحاول فيها ناجيوس إعادة جدولة الشيكات تلقائيا (بالثواني). هذا الخيار له تأثير فقط إذا تم تمكين الخيار auto_reschedule_checks. الافتراضي هو 30 ثانية.
تحذير: هذا هو ميزة تجريبية ويمكن إزالتها في الإصدارات المستقبلية. تمكين أوتو-ريشدولينغ أوبتيون يمكن أن تتحلل الأداء - أكثر من ذلك زيادة - إذا كان يستخدم بشكل غير صحيح!
يحدد هذا الخيار "نافذة" الوقت (بالثواني) التي سينظر إليها ناجيوس عند إعادة جدولة الشيكات تلقائيا. لن يتم إعادة جدولة سوى عمليات استضافة المضيف والخدمة التي تحدث في الثواني التالية (يحددها هذا المتغير). هذا الخيار له تأثير فقط إذا تم تمكين الخيار auto_reschedule_checks. الافتراضي هو 180 ثانية (3 دقائق).
تحذير: هذا هو ميزة تجريبية ويمكن إزالتها في الإصدارات المستقبلية. تمكين أوتو-ريشدولينغ أوبتيون يمكن أن تتحلل الأداء - أكثر من ذلك زيادة - إذا كان يستخدم بشكل غير صحيح!
يحاول ناجيوس أن يكون ذكيا حول كيفية ومتى يتحقق من حالة المضيفين. بشكل عام، فإن تعطيل هذا الخيار يسمح ناجيوس لاتخاذ بعض القرارات أكثر ذكاء والتحقق المضيفين أسرع قليلا. يؤدي تمكين هذا الخيار إلى زيادة مقدار الوقت اللازم للتحقق من المضيفين، ولكن قد يؤدي إلى تحسين الموثوقية قليلا. ما لم يكن لديك مشاكل مع ناجيوس لا تعترف بأن المضيف المستردة، أود أن أقترح عدم تمكين هذا الخيار.
0 = لا تستخدم فحص المضيف العدواني (الافتراضي) 1 = استخدام فحص المضيف العدوانية.
يحدد هذا الخيار ما إذا كان ناجيوس سوف يترجم دون / أونراشابل نتائج فحص المضيف السلبي إلى حالتها "الصحيحة" من وجهة نظر مثيل ناجيوس المحلية. هذا يمكن أن يكون مفيدا جدا في توزيع ورصد الفشل المنشآت. ويمكن الاطلاع على مزيد من المعلومات حول الترجمة حالة الاختيار السلبي هنا.
0 = تعطيل ترجمة الشيكات (افتراضي) 1 = تمكين ترجمة الشيكات.
يحدد هذا الخيار ما إذا كان ناجيوس سوف يتعامل مع شيكات المضيف السلبي كدولة هارد أو حالة سوفت. افتراضيا، سوف نتيجة الاختيار المضيف السلبي وضع مضيف في نوع الحالة الصلبة. يمكنك تغيير هذا السلوك من خلال تمكين هذا الخيار.
0 = الشيكات المضيف السلبية هي هارد (افتراضي) 1 = الشيكات المضيف السلبية هي سوفت.
This option determines whether or not Nagios will execute predictive checks of hosts that are being depended upon (as defined in host dependencies) for a particular host when it changes state. Predictive checks help ensure that the dependency logic is as accurate as possible. More information on how predictive checks work can be found here.
0 = Disable predictive checks 1 = Enable predictive checks (default)
This option determines whether or not Nagios will execute predictive checks of services that are being depended upon (as defined in service dependencies) for a particular service when it changes state. Predictive checks help ensure that the dependency logic is as accurate as possible. More information on how predictive checks work can be found here.
0 = Disable predictive checks 1 = Enable predictive checks (default)
This option determines the maximum amount of time (in seconds) that the state of a previous host check is considered current. Cached host states (from host checks that were performed more recently than the time specified by this value) can improve host check performance immensely. Too high of a value for this option may result in (temporarily) inaccurate host states, while a low value may result in a performance hit for host checks. Use a value of 0 if you want to disable host check caching. More information on cached checks can be found here.
This option determines the maximum amount of time (in seconds) that the state of a previous service check is considered current. Cached service states (from service checks that were performed more recently than the time specified by this value) can improve service check performance when a lot of service dependencies are used. Too high of a value for this option may result in inaccuracies in the service dependency logic. Use a value of 0 if you want to disable service check caching. More information on cached checks can be found here.
This option determines whether or not the Nagios daemon will take several shortcuts to improve performance. These shortcuts result in the loss of a few features, but larger installations will likely see a lot of benefit from doing so. More information on what optimizations are taken when you enable this option can be found here.
This option determines whether or not Nagios will free memory in child processes when they are fork()ed off from the main process. By default, Nagios frees memory. However, if the use_large_installation_tweaks option is enabled, it will not. By defining this option in your configuration file, you are able to override things to get the behavior you want.
This option determines whether or not Nagios will fork() child processes twice when it executes host and service checks. By default, Nagios fork()s twice. However, if the use_large_installation_tweaks option is enabled, it will only fork() once. By defining this option in your configuration file, you are able to override things to get the behavior you want.
This option determines whether or not the Nagios daemon will make all standard macros available as environment variables to your check, notification, event hander, etc. commands. In large Nagios installations this can be problematic because it takes additional memory and (more importantly) CPU to compute the values of all macros and make them available to the environment.
0 = Don't make macros available as environment variables 1 = Make macros available as environment variables (default)
This option determines whether or not Nagios will try and detect hosts and services that are "flapping". Flapping occurs when a host or service changes between states too frequently, resulting in a barrage of notifications being sent out. When Nagios detects that a host or service is flapping, it will temporarily suppress notifications for that host/service until it stops flapping. Flap detection is very experimental at this point, so use this feature with caution! More information on how flap detection and handling works can be found here. Note: If you have state retention enabled, Nagios will ignore this setting when it (re)starts and use the last known setting for this option (as stored in the state retention file), unless you disable the use_retained_program_state option. If you want to change this option when state retention is active (and the use_retained_program_state is enabled), you'll have to use the appropriate external command or change it via the web interface.
0 = Don't enable flap detection (default) 1 = Enable flap detection.
This option is used to set the low threshold for detection of service flapping. For more information on how flap detection and handling works (and how this option affects things) read this.
This option is used to set the high threshold for detection of service flapping. For more information on how flap detection and handling works (and how this option affects things) read this.
This option is used to set the low threshold for detection of host flapping. For more information on how flap detection and handling works (and how this option affects things) read this.
This option is used to set the high threshold for detection of host flapping. For more information on how flap detection and handling works (and how this option affects things) read this.
This option determines whether or not Nagios will use soft state information when checking host and service dependencies. Normally Nagios will only use the latest hard host or service state when checking dependencies. If you want it to use the latest state (regardless of whether its a soft or hard state type), enable this option.
0 = Don't use soft state dependencies (default) 1 = Use soft state dependencies.
This is the maximum number of seconds that Nagios will allow service checks to run. If checks exceed this limit, they are killed and a CRITICAL state is returned. A timeout error will also be logged.
There is often widespread confusion as to what this option really does. It is meant to be used as a last ditch mechanism to kill off plugins which are misbehaving and not exiting in a timely manner. It should be set to something high (like 60 seconds or more), so that each service check normally finishes executing within this time limit. If a service check runs longer than this limit, Nagios will kill it off thinking it is a runaway processes.
This setting determines the state Nagios will report when a service check times out - that is does not respond within service_check_timeout seconds. This can be useful if a machine is running at too high a load and you do not want to consider a failed service check to be critical (the default).
Valid settings are:
This is the maximum number of seconds that Nagios will allow host checks to run. If checks exceed this limit, they are killed and a CRITICAL state is returned and the host will be assumed to be DOWN. A timeout error will also be logged.
There is often widespread confusion as to what this option really does. It is meant to be used as a last ditch mechanism to kill off plugins which are misbehaving and not exiting in a timely manner. It should be set to something high (like 60 seconds or more), so that each host check normally finishes executing within this time limit. If a host check runs longer than this limit, Nagios will kill it off thinking it is a runaway processes.
This is the maximum number of seconds that Nagios will allow event handlers to be run. If an event handler exceeds this time limit it will be killed and a warning will be logged.
There is often widespread confusion as to what this option really does. It is meant to be used as a last ditch mechanism to kill off commands which are misbehaving and not exiting in a timely manner. It should be set to something high (like 60 seconds or more), so that each event handler command normally finishes executing within this time limit. If an event handler runs longer than this limit, Nagios will kill it off thinking it is a runaway processes.
This is the maximum number of seconds that Nagios will allow notification commands to be run. If a notification command exceeds this time limit it will be killed and a warning will be logged.
There is often widespread confusion as to what this option really does. It is meant to be used as a last ditch mechanism to kill off commands which are misbehaving and not exiting in a timely manner. It should be set to something high (like 60 seconds or more), so that each notification command finishes executing within this time limit. If a notification command runs longer than this limit, Nagios will kill it off thinking it is a runaway processes.
This is the maximum number of seconds that Nagios will allow an obsessive compulsive service processor command to be run. If a command exceeds this time limit it will be killed and a warning will be logged.
This is the maximum number of seconds that Nagios will allow an obsessive compulsive host processor command to be run. If a command exceeds this time limit it will be killed and a warning will be logged.
This is the maximum number of seconds that Nagios will allow a host performance data processor command or service performance data processor command to be run. If a command exceeds this time limit it will be killed and a warning will be logged.
This value determines whether or not Nagios will "obsess" over service checks results and run the obsessive compulsive service processor command you define. I know - funny name, but it was all I could think of. This option is useful for performing distributed monitoring. If you're not doing distributed monitoring, don't enable this option.
0 = Don't obsess over services (default) 1 = Obsess over services.
This option allows you to specify a command to be run after every service check, which can be useful in distributed monitoring. This command is executed after any event handler or notification commands. The command argument is the short name of a command definition that you define in your object configuration file. The maximum amount of time that this command can run is controlled by the ocsp_timeout option. More information on distributed monitoring can be found here. This command is only executed if the obsess_over_services option is enabled globally and if the obsess_over_service directive in the service definition is enabled.
This value determines whether or not Nagios will "obsess" over host checks results and run the obsessive compulsive host processor command you define. I know - funny name, but it was all I could think of. This option is useful for performing distributed monitoring. If you're not doing distributed monitoring, don't enable this option.
0 = Don't obsess over hosts (default) 1 = Obsess over hosts.
This option allows you to specify a command to be run after every host check, which can be useful in distributed monitoring. This command is executed after any event handler or notification commands. The command argument is the short name of a command definition that you define in your object configuration file. The maximum amount of time that this command can run is controlled by the ochp_timeout option. More information on distributed monitoring can be found here. This command is only executed if the obsess_over_hosts option is enabled globally and if the obsess_over_host directive in the host definition is enabled.
This value determines whether or not Nagios will process host and service check performance data.
0 = Don't process performance data (default) 1 = Process performance data.
This option allows you to specify a command to be run after every host check to process host performance data that may be returned from the check. The command argument is the short name of a command definition that you define in your object configuration file. This command is only executed if the process_performance_data option is enabled globally and if the process_perf_data directive in the host definition is enabled.
This option allows you to specify a command to be run after every service check to process service performance data that may be returned from the check. The command argument is the short name of a command definition that you define in your object configuration file. This command is only executed if the process_performance_data option is enabled globally and if the process_perf_data directive in the service definition is enabled.
This option allows you to specify a file to which host performance data will be written after every host check. Data will be written to the performance file as specified by the host_perfdata_file_template option. Performance data is only written to this file if the process_performance_data option is enabled globally and if the process_perf_data directive in the host definition is enabled.
This option allows you to specify a file to which service performance data will be written after every service check. Data will be written to the performance file as specified by the service_perfdata_file_template option. Performance data is only written to this file if the process_performance_data option is enabled globally and if the process_perf_data directive in the service definition is enabled.
This option determines what (and how) data is written to the host performance data file. The template may contain macros, special characters (\t for tab, \r for carriage return, \n for newline) and plain text. A newline is automatically added after each write to the performance data file.
This option determines what (and how) data is written to the service performance data file. The template may contain macros, special characters (\t for tab, \r for carriage return, \n for newline) and plain text. A newline is automatically added after each write to the performance data file.
This option determines how the host performance data file is opened. Unless the file is a named pipe you'll probably want to use the default mode of append.
a = Open file in append mode (default) w = Open file in write mode p = Open in non-blocking read/write mode (useful when writing to pipes)
This option determines how the service performance data file is opened. Unless the file is a named pipe you'll probably want to use the default mode of append.
a = Open file in append mode (default) w = Open file in write mode p = Open in non-blocking read/write mode (useful when writing to pipes)
This option allows you to specify the interval (in seconds) at which the host performance data file is processed using the host performance data file processing command. A value of 0 indicates that the performance data file should not be processed at regular intervals.
This option allows you to specify the interval (in seconds) at which the service performance data file is processed using the service performance data file processing command. A value of 0 indicates that the performance data file should not be processed at regular intervals.
This option allows you to specify the command that should be executed to process the host performance data file. The command argument is the short name of a command definition that you define in your object configuration file. The interval at which this command is executed is determined by the host_perfdata_file_processing_interval directive.
This option allows you to specify the command that should be executed to process the service performance data file. The command argument is the short name of a command definition that you define in your object configuration file. The interval at which this command is executed is determined by the service_perfdata_file_processing_interval directive.
This option allows you to enable or disable checks for orphaned service checks. Orphaned service checks are checks which have been executed and have been removed from the event queue, but have not had any results reported in a long time. Since no results have come back in for the service, it is not rescheduled in the event queue. This can cause service checks to stop being executed. Normally it is very rare for this to happen - it might happen if an external user or process killed off the process that was being used to execute a service check. If this option is enabled and Nagios finds that results for a particular service check have not come back, it will log an error message and reschedule the service check. If you start seeing service checks that never seem to get rescheduled, enable this option and see if you notice any log messages about orphaned services.
0 = Don't check for orphaned service checks 1 = Check for orphaned service checks (default)
This option allows you to enable or disable checks for orphaned hoste checks. Orphaned host checks are checks which have been executed and have been removed from the event queue, but have not had any results reported in a long time. Since no results have come back in for the host, it is not rescheduled in the event queue. This can cause host checks to stop being executed. Normally it is very rare for this to happen - it might happen if an external user or process killed off the process that was being used to execute a host check. If this option is enabled and Nagios finds that results for a particular host check have not come back, it will log an error message and reschedule the host check. If you start seeing host checks that never seem to get rescheduled, enable this option and see if you notice any log messages about orphaned hosts.
0 = Don't check for orphaned host checks 1 = Check for orphaned host checks (default)
This option determines whether or not Nagios will periodically check the "freshness" of service checks. Enabling this option is useful for helping to ensure that passive service checks are received in a timely manner. More information on freshness checking can be found here.
0 = Don't check service freshness 1 = Check service freshness (default)
This setting determines how often (in seconds) Nagios will periodically check the "freshness" of service check results. If you have disabled service freshness checking (with the check_service_freshness option), this option has no effect. More information on freshness checking can be found here.
This option determines whether or not Nagios will periodically check the "freshness" of host checks. Enabling this option is useful for helping to ensure that passive host checks are received in a timely manner. More information on freshness checking can be found here.
0 = Don't check host freshness 1 = Check host freshness (default)
This setting determines how often (in seconds) Nagios will periodically check the "freshness" of host check results. If you have disabled host freshness checking (with the check_host_freshness option), this option has no effect. More information on freshness checking can be found here.
This option determines the number of seconds Nagios will add to any host or services freshness threshold it automatically calculates (e. g. those not specified explicity by the user). More information on freshness checking can be found here.
This setting determines whether or not the embedded Perl interpreter is enabled on a program-wide basis. Nagios must be compiled with support for embedded Perl for this option to have an effect. More information on the embedded Perl interpreter can be found here.
This setting determines whether or not the embedded Perl interpreter should be used for Perl plugins/scripts that do not explicitly enable/disable it. Nagios must be compiled with support for embedded Perl for this option to have an effect. More information on the embedded Perl interpreter and the effect of this setting can be found here.
This option allows you to specify what kind of date/time format Nagios should use in the web interface and date/time macros. Possible options (along with example output) include:
This option allows you to override the default timezone that this instance of Nagios runs in. Useful if you have multiple instances of Nagios that need to run from the same server, but have different local times associated with them. If not specified, Nagios will use the system configured timezone.
Note: If you use this option to specify a custom timezone, you will also need to alter the Apache configuration directives for the CGIs to specify the timezone you want. مثال:
SetEnv TZ "US/Mountain"
This option allows you to specify illegal characters that cannot be used in host names, service descriptions, or names of other object types. Nagios will allow you to use most characters in object definitions, but I recommend not using the characters shown in the example above. Doing may give you problems in the web interface, notification commands, etc.
This option allows you to specify illegal characters that should be stripped from macros before being used in notifications, event handlers, and other commands. This DOES NOT affect macros used in service or host check commands. You can choose to not strip out the characters shown in the example above, but I recommend you do not do this. Some of these characters are interpreted by the shell (i. e. the backtick) and can lead to security problems. The following macros are stripped of the characters you specify:
$HOSTOUTPUT$ , $HOSTPERFDATA$ , $HOSTACKAUTHOR$ , $HOSTACKCOMMENT$ , $SERVICEOUTPUT$ , $SERVICEPERFDATA$ , $SERVICEACKAUTHOR$ , and $SERVICEACKCOMMENT$
This option determines whether or not various directives in your object definitions will be processed as regular expressions. More information on how this works can be found here.
0 = Don't use regular expression matching (default) 1 = Use regular expression matching.
If you've enabled regular expression matching of various object directives using the use_regexp_matching option, this option will determine when object directives are treated as regular expressions. If this option is disabled (the default), directives will only be treated as regular expressions if they contain * , ? , + , or \. . If this option is enabled, all appropriate directives will be treated as regular expression - be careful when enabling this! More information on how this works can be found here.
0 = Don't use true regular expression matching (default) 1 = Use true regular expression matching.
This is the email address for the administrator of the local machine (i. e. the one that Nagios is running on). This value can be used in notification commands by using the $ADMINEMAIL$ macro.
This is the pager number (or pager email gateway) for the administrator of the local machine (i. e. the one that Nagios is running on). The pager number/address can be used in notification commands by using the $ADMINPAGER$ macro.
This option controls what (if any) data gets sent to the event broker and, in turn, to any loaded event broker modules. This is an advanced option. When in doubt, either broker nothing (if not using event broker modules) or broker everything (if using event broker modules). Possible values are shown below.
0 = Broker nothing -1 = Broker everything # = See BROKER_* definitions in source code (include/broker. h) for other values that can be OR'ed together.
This directive is used to specify an event broker module that should by loaded by Nagios at startup. Use multiple directives if you want to load more than one module. Arguments that should be passed to the module at startup are seperated from the module path by a space.
Do NOT overwrite modules while they are being used by Nagios or Nagios will crash in a fiery display of SEGFAULT glory. This is a bug/limitation either in dlopen(), the kernel, and/or the filesystem. And maybe Nagios.
The correct/safe way of updating a module is by using one of these methods:
Shutdown Nagios, replace the module file, restart Nagios While Nagios is running. delete the original module file, move the new module file into place, restart Nagios.
This option determines where Nagios should write debugging information. What (if any) information is written is determined by the debug_level and debug_verbosity options. You can have Nagios automaticaly rotate the debug file when it reaches a certain size by using the max_debug_file_size option.
This option determines what type of information Nagios should write to the debug_file. This value is a logical OR of the values below.
-1 = Log everything 0 = Log nothing (default) 1 = Function enter/exit information 2 = Config information 4 = Process information 8 = Scheduled event information 16 = Host/service check information 32 = Notification information 64 = Event broker information.
This option determines how much debugging information Nagios should write to the debug_file.
0 = Basic information 1 = More detailed information (default) 2 = Highly detailed information.
This option determines the maximum size (in bytes) of the debug file. If the file grows larger than this size, it will be renamed with a. old extension. If a file already exists with a. old extension it will automatically be deleted. This helps ensure your disk space usage doesn't get out of control when debugging Nagios.
This boolean option determines whether services, service dependencies, or host dependencies assigned to empty host groups (host groups with no host members) will cause Nagios to exit with error on start up (or during a configuration check) or not. The default behavior if the option is not present in the main configuration file is for Nagios to exit with error if any of these objects are associated with host groups that have no hosts associated with them. Enabling this option can be useful when:

Design of the Event Broker Service.
هذا المحتوى قديم ولم يعد يتم الاحتفاظ به. يتم توفيرها على سبيل المجاملة للأفراد الذين لا يزالون يستخدمون هذه التقنيات.
قد تحتوي هذه الصفحة على عناوين ورل كانت صالحة عند نشرها في الأصل، ولكنها الآن ترتبط بمواقع أو صفحات لم تعد موجودة.
To create client business applications using current Microsoft technologies, see patterns & practices' Prism.
The Composite UI Application Block contains a set of interfaces and classes that comprise the event broker service. This service lets you implement loosely coupled communications between the components in your application. It is not designed for broadcasting or receiving events from outside of the application.
When adding a component to the container, the framework enters any events within the component that are marked as EventPublications , or methods that are marked as EventSubscriptions , into a catalog of events for that container. The WorkItem. EventTopics collection holds a collection of EventTopic instances, each of which defines the topic between an event source and its subscribers.
The Fire method of the appropriate EventTopic executes when an event annotated with the EventPublicationAttribute occurs. It identifies the subscribers to the event and raises the appropriate subscription methods. Figure 1 shows details of the event broker system within the Composite UI Application Block framework.
The system separates the design of the inspection strategy (using reflection on items added to the container) from the design of the EventTopics collection, because your own code might want to add, remove, or manage the topics, publications, and subscriptions programmatically.
The EventSubscription can also receive a ThreadOption value specifying the threading options for calling the subscriber. The following options are available:
ThreadOption. Background . This option indicates that the handler should be called on a separate background thread. ThreadOption. Publisher . This option is the default, and indicates that the handler should be called synchronously on the publisher’s thread. ThreadOption. UserInterface . This option indicates that the handler should be called on the user interface thread, so it is safe for it to modify user interface elements.
The event broker implementation includes the following classes and interfaces:

Event broker options


I'll come back to you.
Either with Unity as a constant (if this is possible in Unity, I normally use Ninject) or on the request Scope.
2) The typename is embedded into the assenbly at COMPILE TIME.
3) The typename cannot be changed without recompiling your assembly.
This is not the type of the class firing the event!
Therefore, I'd say that it should work with Silverlight, too - but I don't have real evidence.
- make sure that you use the current version from sourceforge (log was updated some time ago)
- configure log4net and set the log level to log everything (debug)
General News Suggestion Question Bug Answer Joke Praise Rant Admin.
Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.
Web01 | 2.8.171231.1 | Last Updated 26 Oct 2008.
Everything else Copyright © CodeProject, 1999-2018.

VMware Cloud Management.
vRealize Automation 7.0 – New Event Broker Enhances Lifecycle Extensibility.
vRealize Automation – Event Broker.
IT administrators need a flexible way to extend the out of the box automation with vRealize Automation. Although vRealize Automation is a purpose built cloud management tool that automates the delivery of infrastructure, applications and IT services it needs to integrate with each company’s existing infrastructure tools and processes. No automation product can anticipate and integrate with all the possible multi-vendor tools that every company will use.
In vRealize Automation 7.0 (vRA 7) we are introducing enhanced Lifecycle Extensibility through the use of an event broker – an event driven extensibility engine which provides UI-driven options for lifecycle automation. Event broker and a library of existing workflows and partner provided plug-ins on the VMware Solutions Exchange helps VMware accelerate the process of integrating multi-vendor tools into your vRealize Automation blueprints.
Event broker provides out-of-the box extensibility and enables administrators to.
Plug-in new functionality without changing core code (preserves upgradability) Trigger external workflows from new unified blueprints Augment approval workflows Integrate and extend to external systems as part of lifecycle.
Machine Provisioning extensibility.
Earlier versions of vRealize automation(vRA) provided limited ways to extend machine provisioning. In vRealize Automation 7.0 , event broker provides a much broader and simpler way to integrate and extend the solutions.
For customizing a machine during provisioning, the tenant administrator simply subscribes to an event using the user interface and specifies conditions for a specific custom workflow to be triggered and publishes this event.
When a user (consumer) requests a machine (from catalog) the specific custom workflow is executed at the defined event. There is no additional code required to be developed or needs special configurations. vRA brings this powerful capability out-of-the-box.
Customers need the ability to define and implement third party system approvals for various IT tasks. We are introducing a new approval service that lets tenant administrator easily define policies for external system approvals.
The tenant administrator subscribes to an event and chooses an approval workflow for third party system approvals. When a user (consumer) requests a machine the registered 3 rd party subscriber is triggered when it receives the event and replies with decision for the approval process to complete.
In vRealize Automation 7.0 capabilities of the new event broker include:
Complete coverage of IaaS machine Life cycle. Simple admin user interface Approval policy with external systems Notification to external system on any configuration changes.
Enhanced Lifecycle extensibility via Event broker addresses one of the biggest problems of extensibility — management complexity — by bringing the it directly into the user interface and providing a means of easily extending vRealize automation into the ecosystem. Customers can utilize this to solve their IT problems with no changes to their existing environment. For more information visit vRealize Automation.
الوظائف ذات الصلة.
Email Customization in vRAEmail Customization in vRAPrateek Gangwal posted September 19, 2018 vRealize Automation 7.2 Detailed Implementation Video GuidevRealize Automation 7.2 Detailed Implementation Video GuideJad El-Zein posted February 22, 2017 vRealize Operations Manager – Monitoring vs ForensicvRealize Operations Manager - Monitoring vs ForensicSajal Debnath posted October 6, 2018.
3 Comments been added so far.
Christopher Thorjussen.
Why are several images gone on lots of your blog posts, this one included.

تكامل العملات الأجنبية أويون.
Vps para forex gratis.
Event broker options nagios.
Statusengine consists of two parts: An event broker module providing event data and a PHP application that processes it. The event broker is loaded into the Naemon core and dumps configuration and event data for instance, state changes, service check results or notification data into the Gearman queuing engine. All data event encoded as JSON objects to simplify application development. The PHP application is based on the CakePHP framework and saves the data from the broker module into a MySQL database. As you probably know there's another broker known solution to connect Naemon with an MySQL database, so why should I use statusengine? Let me show you a few advantages of Statusengine: Due to the legacy mode all the software that works broker the broker known other solution, will work with Statusengine out of the box! Statusengine provides you a full UTF-8 integration and has no problems with double byte characters It's written in PHP so you can realy easy develop patches or what ever you need All the code is open and you can contribute to the project via GitHub Statusengine is made for big broker and don't require strange kernel parameters Only the broker module is written in C small C code eq less segfaults You can uninstall or upgrade your MySQL server options stopping your monitoring Every language is able to deal with MySQL Statusengine event able to process your performance data as well Statusengine is more than just a simple Naemon to MySQL gateway. This event just one way to use this solution. The broker module fetches everything you need out of the Naemon core as a json string. You can start developing your own client that does what ever you want with this data. Statusengine is developed for Naemon and should work with Nagios 4 as well. There is no support for Nagios options If you want nagios migrate to Naemon check out the official migration guide. The Statusengine broker module statusengine. Every event inside of Naemon will trigger the callback functions inside of statusengine. The options gets processed by statusengine. On the nagios side the StatusengineLegacyShell reads the data out of the job server and nagios it with different worker processes. Every worker handles one or more queues and writes the data into the database. This part is written in PHP so a lot of people can modify this easily if needed. Don't worry, Nagios is fast enough to get the job done: Due to the Gearman Job Server you can uninstall, upgrade, distroy or whatever you want to do with your MySQL server options your monitoring will still work, as long as the Nagios Job Server is running! If you are interested in row naemon event data but you don't want to save the data into a database you can simply develop your own worker. The Gearman library supports a lot of different programming languages. The communication is based on standard protocols so all the data options json encoded. This part options may be interesting for you options you want to install Event on a different OS than Broker Looking for other Ubuntu or Debian version? Go to supported operating systems. Packages you need to install options try to use your package nagios as often as possible: Gearman stuff not in your repository? No broker, install it by hand: Download the gearman php extension from http: Compile Statusengine from source: Check out the repository from https: Basically you can install Statusengine on any Linux OS. Read the Advanced installation guide for more information. Supported operating systems for Statusengine 1. Supported operating systems for Statusengine 2. The "Legacy mode" of Statusengine acts exactly the same way like this common nagios. With "Legacy mode" Statuengine is compatible to tools like NagVis, openITCOCKPIT and other NDO based applications. Please options care of your storage system, if you increase the number of workers! Broker default the Statusengine Event Broker Module will write every event data to the Gearman Job Server. To event one or more broker options, just add them in your monitoring config: This is list of all available broker options: Disable this if you receive a event of passive checks. So I have increased this value, and event the gearman job server again. Enable gearman job server END INIT INFO ulimit - n And restart: Statusengine requires that broker MySQL Server and Gearman-Job-Server is running, before you start it. Please make sure that the boot order is set correctly. For the event broker module statusengine. This guide demonstrates how you can install Statusengine with PHP7. This guid was tested on Ubuntu Some Event extensions are missing in the package manager and need to be compiled and installed manually. Due to this fact Statusengine may be not running as stable as on PHP5! Let's start with installing basic PHP7 and Statusengine's dependencies apt-get install mysql-server gearman-job-server libgearman-dev gearman-tools uuid-dev php-gearman php-cli php-dev libjson-c-dev manpages-dev build-essential libglib2. If you want to use Statusengine Web Interface as well, you need to install Apache2 apt-get install apache2 libapache2-mod-php. Install PHP-Gearman extension for PHP7 apt-get install git libgearman-dev git clone https: Update your database schema. Start Statusengine service statusengine start. If you never had installed Naemon manually, you maybe run into some issues. This little how to will show you, how to install Naemon 1. The Monitoring Plugins are the basic plugins you should install on your system. The Monitoring Plugins have a lot of requirements to compile all of the available plugins. In this case just a few basic plugins are enough. If you want to compile all the Plugins, check the requirements. Alternatively you event install the monitoring nagios using your package manager. Nagios, NDOUtils broker the Nagios logo are trademarks, servicemarks, event trademarks or registered servicemarks owned by Nagios Enterprises, LLC. Nagios other trademarks, servicemarks, registered trademarks, and registered broker are the property of their respective owner s. All other trademarks are property of their nagios owners. Other product or company names mentioned may be trademarks or nagios names of their respective owner. Documentation What is Statusengine? How does Statusengine work? Every event options handled by its own queue. Options example, you want to save all your monitored IP addresses in a text file, Statusengine will save your day like this example broker. What is "Legacy mode"? There was event bug in Statusengine Will update the servicechecks table and process nagios data information graphing. If disabled, options table 'statehistory' for hosts and services will get no event anymore. If disabled, no external commands options be saved to the database. The message of acknowledgements will broker be saved in the database anymore. The table flappinghistory will not be saved anymore. Downtime information will be event in the database anymore. Notification information will be saved in the database anymore. Information about the current running Naemon process. Will be updated every n seconds. The method that was used to send the notification notification command. If disabled, the objects table will not be saved anymore! You can use this as alternative for the classic OCHP command. You can use this as alternative for the classic OCSP nagios. How to set the limit: How to update Statusengine to new Version? Fork me on GitHub.
vRealize Automation 7 - Enabling the event broker.
5 thoughts on “Event broker options nagios”
The pattern is catching on to the reader, pulling him into its drowsy current.
Shipping Weight: 8.3 ounces ( View shipping rates and policies ).
Mixup the colors of the dashboard and your individual subjects to add a touch of your personality - managing homework has never been this fun.
Between 1987 and 1991, global CFC consumption was in fact reduced.
Elizabeth with her unit were responsible for the welfare and recovery of mainly children during that time.

No comments:

Post a Comment