Slansing, thank you for your response. I can write to config files but when I tried to verify it I got these error messages:
I'm posting your GREP results at the very bottom of this post. Thanks.
Error: Could not add object property in file '/usr/local/nagios/etc/timeperiods.cfg' on line 115.
Nagios Core 3.5.0
Copyright (c) 2009-2011 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 03-15-2013
License: GPL
Website:
http://www.nagios.org
Reading configuration data...
Read main config file okay...
Processing object config directory '/usr/local/nagios/etc/static'...
Processing object config file '/usr/local/nagios/etc/static/xitemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xiobjects.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xitest.cfg'...
Processing object config file '/usr/local/nagios/etc/contacttemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/contactgroups.cfg'...
Processing object config file '/usr/local/nagios/etc/contacts.cfg'...
Processing object config file '/usr/local/nagios/etc/timeperiods.cfg'...
Warning: Duplicate definition found for timeperiod 'xi_timeperiod_24x7' (config file '/usr/local/nagios/etc/timeperiods.cfg', starting on line 114)
Error: Could not add object property in file '/usr/local/nagios/etc/timeperiods.cfg' on line 115.
Error processing object config files!
***> One or more problems was encountered while processing the config files...
Check your configuration file(s) to ensure that they contain valid
directives and data defintions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation regarding the config files, as well as the
'Whats New' section to find out what has changed.
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2014.01.07 16:07:59 =~=~=~=~=~=~=~=~=~=~=~=
login as: root
****************************************************************************
NOTICE TO USERS
This system is the propery of MVP Healthcare. Access and use is for
MVP Healthcare authorized users only and is subject to monitoring by systems
personnel. Unauthorized access is a violation of Federal and State law and
will be prosecuted to the full extent of the law
*****************************************************************************
[email protected]'s password:
Last login: Tue Jan 7 15:56:22 2014 from 10.31.100.167
]0;root@sm5nag01:~[root@sm5nag01 ~]# cat /etc/php.ini | grep timeout
; Default timeout for socket based streams (seconds)
default_socket_timeout = 60
; Maximum time (in secondes) for connect timeout. -1 means no limit
mysql.connect_timeout = 60
; Connect timeout
;mssql.connect_timeout = 5
; Query timeout
;mssql.timeout = 60
; Default timeout in seconds.
pfpro.defaulttimeout = 30
]0;root@sm5nag01:~[root@sm5nag01 ~]#
]0;root@sm5nag01:~[root@sm5nag01 ~]# cat /etc/php.ini | grep memory
memory_limit = 128M ; Maximum amount of memory a script may consume
; If this parameter is set to Off, then memory leaks will not be shown (on
; keeping them in memory.
]0;root@sm5nag01:~[root@sm5nag01 ~]#