You should be able to install with cpan:
Code: Select all
cpan YAML
cpan DBD::Sybase
Code: Select all
cpan YAML
cpan DBD::Sybase
Code: Select all
cpan -i DBD::SybaseCode: Select all
fopen(/usr/local/nagios/etc/services/epdwh01-bs.server.lan.cfg): failed to open stream: No such file or directoryCode: Select all
Error: Could not expand master service(s) (config file '/usr/local/nagios/etc/servicedependencies.cfg', starting at line 16)Code: Select all
###############################################################################
#
# Service dependency configuration file
#
# Created by: Nagios Core Config Manager 2.6.5
# Date: 2017-03-08 08:31:09
# Version: Nagios 3.x config file
#
# --- DO NOT EDIT THIS FILE BY HAND ---
# Nagios CCM will overwrite all manual settings during the next update if you
# would like to edit files manually, place them in the 'static' directory or
# import your configs into the CCM by placing them in the 'import' directory.
#
###############################################################################
###############################################################################
#
# Service dependency configuration file
#
# END OF FILE
#
###############################################################################
Code: Select all
chage -l nagios
chage -l apache
grep apa /etc/passwd
grep nag /etc/passwd
grep nag /etc/group
ls -l /usr/local/nagios
ls -l /usr/local/nagios/etcCode: Select all
chage -l nagios
Last password change : Jan 25, 2017
Password expires : never
Password inactive : never
Account expires : never
Minimum number of days between password change : 0
Maximum number of days between password change : 99999
Number of days of warning before password expires : 7
chage -l apache
Last password change : Jan 24, 2017
Password expires : never
Password inactive : never
Account expires : never
Minimum number of days between password change : -1
Maximum number of days between password change : -1
Number of days of warning before password expires : -1
grep apa /etc/passwd
apache:x:48:48:Apache:/usr/share/httpd:/sbin/nologin
grep nag /etc/passwd
nagios:x:8012:8012::/home/nagios:/bin/bash
grep nag /etc/group
nagios:x:8012:nagios,apache
nagcmd:x:8013:nagios,apache
ls -l /usr/local/nagios
total 28
drwxr-xr-x 2 nagios nagios 4096 Feb 20 08:29 bin
drwsrwsr-x 8 apache nagios 4096 Mar 10 07:57 etc
drwxr-xr-x 2 root root 6 Feb 20 08:29 include
drwxrwsr-x 2 apache nagios 4096 Feb 20 08:30 libexec
drwxr-xr-x 2 nagios nagios 4096 Feb 20 08:28 sbin
drwxr-xr-x 18 nagios nagios 4096 Feb 20 08:29 share
drwxr-xr-x 6 nagios nagios 4096 Mar 10 08:03 var
ls -l /usr/local/nagios/etc
total 212
drwsrwsr-x 3 apache nagios 4096 Mar 10 07:57 cfgprep
-rw-rw-r-- 1 apache nagios 877 Mar 1 10:40 cgi.cfg
-rw-rw-r-- 1 apache nagios 31089 Mar 10 08:01 commands.cfg
-rw-rw-r-- 1 apache nagios 2126 Mar 10 08:02 contactgroups.cfg
-rw-rw-r-- 1 apache nagios 4937 Mar 10 08:02 contacts.cfg
-rw-rw-r-- 1 apache nagios 1675 Mar 10 08:02 contacttemplates.cfg
-rw-rw-r-- 1 apache nagios 817 Mar 10 08:02 hostdependencies.cfg
-rw-rw-r-- 1 apache nagios 819 Mar 10 08:02 hostescalations.cfg
-rw-rw-r-- 1 apache nagios 837 Mar 10 08:02 hostextinfo.cfg
-rw-rw-r-- 1 apache nagios 1928 Mar 10 08:01 hostgroups.cfg
drwsrwsr-x 2 apache nagios 4096 Mar 10 08:01 hosts
-rw-rw-r-- 1 apache nagios 16137 Mar 10 08:01 hosttemplates.cfg
drwsrwsr-x 2 apache nagios 6 Mar 7 10:00 import
-rwxrwxr-x 1 apache nagios 5671 Feb 20 10:13 nagios.cfg
-rwxrwxr-x 1 apache nagios 2229 Feb 20 08:29 ndo2db.cfg
-rwxrwxr-x 1 apache nagios 4827 Feb 20 08:29 ndomod.cfg
-rwxrwxr-x 1 apache nagios 8285 Mar 7 11:18 nrpe.cfg
-rwxrwxr-x 1 apache nagios 5345 Feb 20 08:29 nsca.cfg
drwsrwsr-x 4 apache nagios 4096 Mar 10 07:57 pnp
-rwxrwxr-x 1 apache nagios 210 Feb 20 08:28 resource.cfg
-rwxrwxr-x 1 apache nagios 1627 Feb 20 08:29 send_nsca.cfg
-rw-rw-r-- 1 apache nagios 9010 Mar 10 08:02 servicedependencies.cfg
-rw-rw-r-- 1 apache nagios 825 Mar 10 08:02 serviceescalations.cfg
-rw-rw-r-- 1 apache nagios 843 Mar 10 08:02 serviceextinfo.cfg
-rw-rw-r-- 1 apache nagios 1556 Mar 10 08:01 servicegroups.cfg
drwsrwsr-x 2 apache nagios 4096 Mar 10 08:01 services
-rw-rw-r-- 1 apache nagios 24973 Mar 10 08:01 servicetemplates.cfg
drwsrwsr-x 2 apache nagios 65 Mar 10 07:57 static
-rw-rw-r-- 1 apache nagios 5662 Mar 10 08:01 timeperiods.cfgCode: Select all
apache:x:48:48:Apache:/usr/share/httpd:/sbin/nologinCode: Select all
apache:x:48:48:Apache:/usr/share/httpd:/bin/bash