Search found 10 matches
- Thu May 16, 2019 1:39 pm
- Forum: Nagios XI
- Topic: stderr: sudo: sorry, you must have a tty to run sudo
- Replies: 7
- Views: 1838
Re: stderr: sudo: sorry, you must have a tty to run sudo
Thanks Scott, your sudoers content fixed the running issues, I am no longer getting the errors and everything appears to be now in a running state. We will move onto setting things up to monitor and snmp traps receiving. Thanks again for all your help. This can be closed as fixed.
- Thu May 16, 2019 1:38 pm
- Forum: Nagios XI
- Topic: Monitoring engine, performance grapher DB backend wont start
- Replies: 11
- Views: 1324
Re: Monitoring engine, performance grapher DB backend wont s
Hi Scott the sudo content fixed it all. The unix team verified it was because the build had not defined a host on one server however had done so on the others. Once they did that the service started to run again. So the solution for this was to ensure the sudo file was complete and the server had be...
- Wed May 15, 2019 5:51 pm
- Forum: Nagios XI
- Topic: Monitoring engine, performance grapher DB backend wont start
- Replies: 11
- Views: 1324
Re: Monitoring engine, performance grapher DB backend wont s
Hi Scott the sudo content you provided in my other issue has helped to get 3 of the 4 services started. The only service not starting now is the Monitoring engine and its only on one machine. All the other services are reporting as working. What can be checked to verify the status of the monitoring ...
- Wed May 15, 2019 4:35 pm
- Forum: Nagios XI
- Topic: Monitoring engine, performance grapher DB backend wont start
- Replies: 11
- Views: 1324
Re: Monitoring engine, performance grapher DB backend wont s
[root@caclasd02 /var/log/httpd]# tail -20 /var/log/httpd/error_log [Wed May 15 20:20:13.700930 2019] [:error] [pid 80674] [client 10.96.14.28:50889] PHP Notice: Undefined variable: restart in /usr/local/nagiosxi/html/includes/components/nxti/index.php on line 0, referer: http://10.72.13.220/nagiosxi...
- Wed May 15, 2019 12:59 pm
- Forum: Nagios XI
- Topic: Monitoring engine, performance grapher DB backend wont start
- Replies: 11
- Views: 1324
Re: Monitoring engine, performance grapher DB backend wont s
Thanks Scott, nothing happens when I run the sudo systemctl httpd start as root. [root@caclasd02 ~]# sudo systemctl start httpd [root@caclasd02 ~]# Can you tell me which is the best command to use to start the service and should I be starting it as root?. Also which log is the best log to be looking...
- Wed May 15, 2019 12:49 pm
- Forum: Nagios XI
- Topic: stderr: sudo: sorry, you must have a tty to run sudo
- Replies: 7
- Views: 1838
Re: stderr: sudo: sorry, you must have a tty to run sudo
Thanks Scott. I will get this added to the sudoers file. We did try to find the nagios.sudoers file mentioned in a kb doc. Is there also any documents on what permissions the nagios user needs to have or files it is meant to own and run instead of root?
cheers
cheers
- Tue May 14, 2019 5:12 pm
- Forum: Nagios XI
- Topic: Monitoring engine, performance grapher DB backend wont start
- Replies: 11
- Views: 1324
Re: Monitoring engine, performance grapher DB backend wont s
Thanks Scott, here are the results, however do yo think this may be related to my issue with httpd, crond, mysqld and ndo2db not starting? Could the issues be related? [root@caclasd05 ~]# chage -l nagios Last password change : May 07, 2019 Password expires : never Password inactive : never Account e...
- Tue May 14, 2019 4:58 pm
- Forum: Nagios XI
- Topic: stderr: sudo: sorry, you must have a tty to run sudo
- Replies: 7
- Views: 1838
Re: stderr: sudo: sorry, you must have a tty to run sudo
Thanks Scott I didnt get any result for thase commands however i did find requiretty in the sudoers file. I sthe answer to get the unix team to not set this default or change it to not require tty? [root@caclasd05 ~]# grep NAGIOS /etc/sudoers [root@caclasd05 ~]# grep requiretty /etc/sudoers|grep nag...
- Tue May 14, 2019 5:49 am
- Forum: Nagios XI
- Topic: stderr: sudo: sorry, you must have a tty to run sudo
- Replies: 7
- Views: 1838
stderr: sudo: sorry, you must have a tty to run sudo
My new offline install of nagios xi has this error "stderr: sudo: sorry, you must have a tty to run sudo" and it wont start the httpd, crond, mysqld or ndo2db services, can someone please offer any suggestions as to how I might fix this so my services start? I attached the nagios profile. ...
- Mon May 13, 2019 7:58 pm
- Forum: Nagios XI
- Topic: Monitoring engine, performance grapher DB backend wont start
- Replies: 11
- Views: 1324
Monitoring engine, performance grapher DB backend wont start
I performed an offline build of Nagios xi however the Monitoring engine, Performance Grapher and DB back end wont start.
Any advice on where and what to check please? I have attached the Nagios profile, where can i find the install.log please ?
Any help would be much appreciated.
Any advice on where and what to check please? I have attached the Nagios profile, where can i find the install.log please ?
Any help would be much appreciated.