Problem with check_mssql-health

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
blasthunter
Posts: 4
Joined: Tue Apr 16, 2019 10:43 am

Problem with check_mssql-health

Post by blasthunter »

hi guys

i have a problem with the check.. when i execute in the terminal with user root all is fine.. but when i tried run with nagios user
give me the error "CRITICAL - could not load perl module DBD::Sybase"

i join the nagios user to root group, but nothing :/
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Problem with check_mssql-health

Post by scottwilkerson »

You need to make sure that the DBD::Sybase perl module is installed globally and not just in a cpan dir under /root
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
blasthunter
Posts: 4
Joined: Tue Apr 16, 2019 10:43 am

Re: Problem with check_mssql-health

Post by blasthunter »

thanks bro!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Problem with check_mssql-health

Post by scottwilkerson »

blasthunter wrote:thanks bro!
no problem
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked