Search found 8 matches
- Thu Jun 17, 2021 3:21 pm
- Forum: Open Source Nagios Projects
- Topic: Winrpe CPU error
- Replies: 1
- Views: 637
Winrpe CPU error
Hey guys good afternoon. Hope all is well. I am trying to monitor my remote Windows server with Nagios community and Winrpe client from https://itefix.net/. I already got to monitor, memory, Disk space, everything except CPU where I get a read of 0% utilization. If I run the command locally on the s...
- Thu Nov 17, 2016 4:16 pm
- Forum: Open Source Nagios Projects
- Topic: Problem monitoring MYSQL socket (Zimbra)
- Replies: 14
- Views: 6090
Re: Problem monitoring MYSQL socket (Zimbra)
Changed NRPE to run as Zimbra and the problem was solved with this particular Zimbra version.
Regards,
Teo
Regards,
Teo
- Thu Nov 17, 2016 10:28 am
- Forum: Open Source Nagios Projects
- Topic: Problem monitoring MYSQL socket (Zimbra)
- Replies: 14
- Views: 6090
Re: Problem monitoring MYSQL socket (Zimbra)
Hmmm intersting, I am seeing the user nagios doesn't have the permission to run the command. I get the error mentioned before: Please show the full output for the command. This is the command inside the NRPE.cfg command[check_zimbra_mysql]=/usr/local/nagios/libexec/check_mysql -s /opt/zimbra/data/t...
- Wed Nov 16, 2016 6:25 pm
- Forum: Open Source Nagios Projects
- Topic: Problem monitoring MYSQL socket (Zimbra)
- Replies: 14
- Views: 6090
Re: Problem monitoring MYSQL socket (Zimbra)
You'll want to execute the remote command with the appropriate user, eg zimbra. You can have your command definition do a sudo to the correct account. zimbra is a special user so this is probably a good approach to any Zimbra metrics you want to monitor. How can I run the command as the "zimbr...
- Wed Nov 16, 2016 6:23 pm
- Forum: Open Source Nagios Projects
- Topic: Problem monitoring MYSQL socket (Zimbra)
- Replies: 14
- Views: 6090
Re: Problem monitoring MYSQL socket (Zimbra)
Can you run the following commands on the remote server and post the output? ls -l /usr/local/nagios/libexec cat /etc/xinetd.d/nrpe Thanks Here is the output: [root@mail ~]# ls -l /usr/local/nagios/libexec total 7396 -rwxr-xr-x. 1 nagios nagios 208847 Nov 16 12:17 check_apt -rwxr-xr-x. 1 nagios nag...
- Wed Nov 16, 2016 4:25 pm
- Forum: Open Source Nagios Projects
- Topic: Problem monitoring MYSQL socket (Zimbra)
- Replies: 14
- Views: 6090
Re: Problem monitoring MYSQL socket (Zimbra)
Hmmm intersting, I am seeing the user nagios doesn't have the permission to run the command. I get the error mentioned before: ./check_mysql -s /opt/zimbra/data/tmp/mysql/mysql.sock -u root -p passwordhidden If I do it with the root user it works. How can I fix it? I already set the owner for the wh...
- Wed Nov 16, 2016 3:29 pm
- Forum: Open Source Nagios Projects
- Topic: Problem monitoring MYSQL socket (Zimbra)
- Replies: 14
- Views: 6090
Re: Problem monitoring MYSQL socket (Zimbra)
Hi Service definition on Nagios host: define service { use generic-service hostgroup_name zimbra service_description MySQL check_command check_nrpe!check_zimbra_mysql #contact_groups admins ; Notifications get sent out to everyone in the 'admins' group #notification_options w,u,c,r ; Send notificati...
- Wed Nov 16, 2016 3:03 pm
- Forum: Open Source Nagios Projects
- Topic: Problem monitoring MYSQL socket (Zimbra)
- Replies: 14
- Views: 6090
Problem monitoring MYSQL socket (Zimbra)
Hey guys, I have done many installations of the NRPE tool to monitor remote servers. I have been monitoring always Zimbra 8.6 versions which have the MYSQL socket pointing at: /opt/zimbra/db/mysql.sock. The option on the nrpe.cfg works just fine and the server returns the mysql status at the moment....