Search found 7 matches
- Thu Jun 16, 2016 8:33 am
- Forum: Nagios XI
- Topic: Restarting Linux Service With NRPE Problem
- Replies: 7
- Views: 3411
Re: Restarting Linux Service With NRPE Problem
Good morning, guys... Yes, i modified the sudoers file... here the uncommented lines of sudoers file... ------------------------------------------------------------------------- Defaults visiblepw Defaults always_set_home Defaults env_reset Defaults env_keep = "COLORS DISPLAY HOSTNAME HISTSIZE ...
- Tue Jun 14, 2016 2:28 pm
- Forum: Nagios XI
- Topic: Restarting Linux Service With NRPE Problem
- Replies: 7
- Views: 3411
Re: Restarting Linux Service With NRPE Problem
Good afternoon, guys... My problem is that nagios doesn't restart automatically my (httpd, sshd, ntdp, etc) service... My command is inside the nrpe.cfg file... and i'm using this Nagios guide: https://assets.nagios.com/downloads/nagiosxi/docs/Restarting_Linux_Services_With_NRPE.pdf This is my nrpe....
- Tue Jun 14, 2016 8:38 am
- Forum: Nagios XI
- Topic: Restarting Linux Service With NRPE Problem
- Replies: 7
- Views: 3411
Re: Restarting Linux Service With NRPE Problem
Sorry, i saw that the httpd service was running... Here is the message when the httpd service is down... /usr/local/nagios/libexec/check_nrpe -H <Remote IP> -t 30 -c check_init_service -a 'httpd' OUTPUT: ● httpd.service - The Apache HTTP Server Loaded: loaded (/usr/lib/systemd/system/httpd.service; ...
- Tue Jun 14, 2016 8:33 am
- Forum: Nagios XI
- Topic: Restarting Linux Service With NRPE Problem
- Replies: 7
- Views: 3411
Restarting Linux Service With NRPE Problem
Hi, guys... First, my environment: Nagios Server CentOS 6.7 Remote Host: CentOS Linux 7.2.1511 Something special in the environment? Nothing... same plugins... My problem is that i am following the "Restarting Linux Service With NRPE" Nagios guide... but when i try to restart any service, ...
- Fri Apr 29, 2016 10:25 am
- Forum: Open Source Nagios Projects
- Topic: Need help with eventhandlers to restart services
- Replies: 9
- Views: 7913
Re: Need help with eventhandlers to restart services
But, think about it, i really need a script that permit identify when a http page return a http 500 error, and restart the service... if the page still show the http 500 error, send an email to the woork team, with the sh script... but i'm thinking about how to do it...
- Fri Apr 29, 2016 10:14 am
- Forum: Open Source Nagios Projects
- Topic: Need help with eventhandlers to restart services
- Replies: 9
- Views: 7913
Re: Need help with eventhandlers to restart services
I´m trying to understand the language... coding... and the samples... but in the sample, i cant see where the variable is defined... can you tell me where?
I´m really newbie at nagios, and the help is so confused...
I´m really newbie at nagios, and the help is so confused...
- Thu Apr 28, 2016 1:40 pm
- Forum: Open Source Nagios Projects
- Topic: Need help with eventhandlers to restart services
- Replies: 9
- Views: 7913
Re: Need help with eventhandlers to restart services
Hi, guys... i have a doubt with this script... it works in my environment, but i cant find the $_SERVICESERVICE$ variable definition... I was looking in this link https://assets.nagios.com/downloads/nagioscore/docs/nagioscore/3/en/macrolist.html#servicestate but i couldn find it... can you tell me w...