Page MenuHomeDevCentral

Deploy Naemon on WindRiver
Needs ReviewPublic

Authored by dereckson on Jan 21 2024, 23:52.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 17, 13:45
Unknown Object (File)
Thu, Dec 12, 21:44
Unknown Object (File)
Thu, Dec 12, 19:11
Unknown Object (File)
Wed, Dec 11, 20:08
Unknown Object (File)
Wed, Dec 11, 20:08
Unknown Object (File)
Wed, Dec 11, 20:08
Unknown Object (File)
Wed, Dec 11, 19:44
Unknown Object (File)
Wed, Dec 11, 19:28
Subscribers
None

Details

Summary

Naemon is an open source fork of Nagios 4.

This reference Nagios implementation allows to compare and evaluate other
monitoring solutions like Sensu against the original experience.

As all solutions we evaluate uses Nagios-compatible checks, the intent is
also to be able to right now configure the diffeent checks for hosts and services,
and devise how to automate inventory.

This is currently deployed to a devserver with plenty of available RAM
so we can evaluate resources needed.

Ref T1945

Test Plan

Deploy on WindRiver

Configuration can be tested with:
/usr/local/etc/rc.d/naemon configtest

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
naemon
Build Status
Buildable 5222
Build 5503: arc lint + arc unit

Event Timeline

dereckson created this revision.
windriver
$ /usr/local/etc/rc.d/naemon configtest
Performing sanity check of naemon configuration: OK

$ sudo -u naemon naemon -v /usr/local/etc/naemon/naemon.cfg
Running pre-flight check on configuration data...

Checking objects...
        Checked 7 services.
        Checked 1 hosts.
        Checked 1 contacts.
        Checked 1 host groups.
        Checked 0 service groups.
        Checked 1 contact groups.
        Checked 24 commands.
        Checked 5 time periods.
        Checked 0 host escalations.
        Checked 0 service escalations.
Checking for circular paths...
        Checked 1 hosts
        Checked 0 service dependencies
        Checked 0 host dependencies
        Checked 5 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...

Total Warnings: 0
Total Errors:   0

Things look okay - No serious problems were detected during the pre-flight check

$ killall -u naemon -1
Log of naemon after the SIGHUP
Caught 'Hangup', restarting...
Retention data successfully saved.
Event broker module 'NERD' deinitialized successfully.
livestatus: deinitializing
livestatus: Logfile cache: flushing complete cache.
Event broker module '/usr/local/lib/naemon-livestatus/livestatus.so' deinitialized successfully.
Naemon 1.4.2 starting... (PID=67507)
Local time is Mon Jan 22 00:06:48 UTC 2024
qh: Socket '/var/spool/naemon/naemon.qh' successfully initialized
nerd: Channel hostchecks registered successfully
nerd: Channel servicechecks registered successfully
nerd: Fully initialized and ready to rock!
livestatus: Naemon Livestatus 1.4.2.source, Socket: '/var/cache/naemon/live'
livestatus: Finished initialization. Further log messages go to /var/log/naemon/livestatus.log
Event broker module '/usr/local/lib/naemon-livestatus/livestatus.so' initialized successfully.
TIMEPERIOD TRANSITION: 24x7;-1;1
TIMEPERIOD TRANSITION: 24x7_sans_holidays;-1;1
TIMEPERIOD TRANSITION: none;-1;0
TIMEPERIOD TRANSITION: us-holidays;-1;0
TIMEPERIOD TRANSITION: workhours;-1;0

Provide nagios-plugins package for standard Nagios checks