Hello,
Some documentation on using:
/ usr / local / nagios / etc to manage server linux, windows or switch
/ usr / local / nagios / etc / objects for the file command.cfg
/ usr / local / nagios / libexec for scripts
and other documents are used:
/ etc/nagios3/conf.d to manage server linux, windows or switch
/ etc/nagios3 for file command.cfg
"/ usr / lib / nagios / plugins" for scripts
so my question what is the difference?
or it depends on the OS or version of nagios
Which directory to use?
- inventsekar
- Posts: 37
- Joined: Fri Jul 20, 2012 11:29 am
Re: Which directory to use?
i also have the same question...
i thought - if we install from source, the first directory structure (/usr/loca/....) gets formed..
and if we install from repository, then the second directory structure (/etc/nagios3/) gets formed...
i maybe wrong, lets wait for others to reply...
thanks...
i thought - if we install from source, the first directory structure (/usr/loca/....) gets formed..
and if we install from repository, then the second directory structure (/etc/nagios3/) gets formed...
i maybe wrong, lets wait for others to reply...
thanks...
Re: Which directory to use?
As inventsekar mentioned, the first set of directories are used when you install from source. In the packages for Debian-based distributions, the directories were rearranged to comply with the Filesystem Hierarchy Standard and "nagios" was also renamed "nagios3" because Nagios 3.0 broke backwards compatibility with previous versions. On Red Hat-based distributions, you'll see yet more directory names too.
This kind of situation is very common on Linux systems. Software is typically written to install somewhere beneath the /usr/local directory, and then repackaged to use other directories. Essentially all it does is separate packaged software from unpackaged software.
This kind of situation is very common on Linux systems. Software is typically written to install somewhere beneath the /usr/local directory, and then repackaged to use other directories. Essentially all it does is separate packaged software from unpackaged software.