Search found 9 matches

by Goodie
Wed Jun 17, 2015 8:49 am
Forum: Open Source Nagios Projects
Topic: check_mssql_health doesn't run as nagios user
Replies: 15
Views: 11496

Re: check_mssql_health doesn't run as nagios user

Thanks for the help, I've resolved the issue.

I rolled back the VM to a time before I attempted to configure the check_mssql_health plugin, I added the nagios user to the suders file and then installed/configured the plugin and prerequisites as nagios using the sudo command.

Thanks again.
by Goodie
Wed Jun 17, 2015 3:24 am
Forum: Open Source Nagios Projects
Topic: check_mssql_health doesn't run as nagios user
Replies: 15
Views: 11496

Re: check_mssql_health doesn't run as nagios user

Hi, Running `yum search perl | grep Sybase` doesn't return anything, see below [root@9-srv-nagios downloads]# yum search perl | grep Sybase [root@9-srv-nagios downloads]# I have installed the rpmforge repo by following the below link for x64 CentoOS 7 http://www.tecmint.com/enable-rpmforge-repositor...
by Goodie
Tue Jun 16, 2015 3:42 am
Forum: Open Source Nagios Projects
Topic: check_mssql_health doesn't run as nagios user
Replies: 15
Views: 11496

Re: check_mssql_health doesn't run as nagios user

Hi ssax, I tried compileing the plugin again as you suggested however, I get the same error. I then tried to install Sybase from yum, however, I got the below error Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: centos.muzzy.org.uk * epel: www.mirrorservice.org * ex...
by Goodie
Mon Jun 15, 2015 3:20 pm
Forum: Open Source Nagios Projects
Topic: check_mssql_health doesn't run as nagios user
Replies: 15
Views: 11496

Re: check_mssql_health doesn't run as nagios user

Hi ssax,

I installed DBD::sybase through cpan, I'll try what you suggested and report back.

Thanks
by Goodie
Mon Jun 15, 2015 5:53 am
Forum: Open Source Nagios Projects
Topic: check_mssql_health doesn't run as nagios user
Replies: 15
Views: 11496

Re: check_mssql_health doesn't run as nagios user

HI tgriep, Please see the information requested below [root@9-srv-nagios ~]# grep nag /etc/passwd nagios:x:1001:1001::/home/nagios:/bin/bash [root@9-srv-nagios ~]# grep nag /etc/group nagios:x:1001:apache,nagios nagcmd:x:1002:apache,nagios I compiled the check_mssql_health plugin using the below com...
by Goodie
Fri Jun 12, 2015 11:53 am
Forum: Open Source Nagios Projects
Topic: check_mssql_health doesn't run as nagios user
Replies: 15
Views: 11496

Re: check_mssql_health doesn't run as nagios user

I'll give it ago on Monday when I'm back in the office.

Thanks
by Goodie
Fri Jun 12, 2015 2:53 am
Forum: Open Source Nagios Projects
Topic: check_mssql_health doesn't run as nagios user
Replies: 15
Views: 11496

Re: check_mssql_health doesn't run as nagios user

HI jdalrymple,

I have tried disabling SElinux and adding the extra line in to the perl script, I'm still getting the same error.

Any more idea's I can try?

Thanks
by Goodie
Thu Jun 11, 2015 3:59 pm
Forum: Open Source Nagios Projects
Topic: check_mssql_health doesn't run as nagios user
Replies: 15
Views: 11496

Re: check_mssql_health doesn't run as nagios user

Thanks for the quick reply jdairymple, selinux is in permissive mode, I'll try the other suggest when I'm back at work tomorrow.

I forgot to mention I have other nations plugins working, it' just the SQL one I'm having issue with.
by Goodie
Thu Jun 11, 2015 10:41 am
Forum: Open Source Nagios Projects
Topic: check_mssql_health doesn't run as nagios user
Replies: 15
Views: 11496

check_mssql_health doesn't run as nagios user

Hi, I have installed Nagios Core 4.0.8 on Centos 7, I'm having issues running the check_mysql_health plugin as the standard user account `nagios` in terminal and through the nagios web front end. I have installed the required pre-requisites for the check_mssql_health plugin i.e DBD::Sysbase etc. i.e...