Editing
OS level checks on Nagios
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
Ubuntu OS Release Check ------------------------ Login to server β’ cd /home/Nagios/bin/ β’ ls We can see here different file in red and purple color - Purple color file β Already installed plugins - Red color file β We have configured that Also we have created symlink for purple color files, which have already installed plugins. Purpose of symlink is, if installed some server updates or restarts server, then also we donβt have replace that plugins again at /home/Nagios/bin/ If we have to check OS release, then run below command β’ ./check_os_release.py Configuring OS Release Check for Server Ex. for dev.apoyar Login to nagios.apoyar β’ As nagios user and enter password (Locutus1) β’ cd /plugins Copy python config file from Nagios.apoyar to dev.apoyar using below command β’ scp check_os_release.py dev.apoyar:/home/nagios/bin/ Then exit Nagios user and login as neal β’ su β’ Password β ap0yar β’ Go to below path β’ cd /usr/local/etc/nagios/objects/ β’ vi services.cfg and add server name (ApoyarDev) under OS Release in hostnames save and exit file (:wq!) Run below command for syntax error check β’ /usr/local/bin/nagios -v /usr/local/etc/nagios/nagios.cfg And at last restart Nagios process fom nagios.apoyar.net
Summary:
Please note that all contributions to Apoyar Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Apoyar Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
British English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Apoyar Infrastructure
Active Directory
Recent changes
Random page
Upload file
Tools
What links here
Related changes
Special pages
Page information