Check_imap Plugin Results Error "Connection Refused"??

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
mohsin2011
Posts: 63
Joined: Fri Sep 09, 2011 1:14 am

Check_imap Plugin Results Error "Connection Refused"??

Post by mohsin2011 »

i am trying to execute "check_imap -H IP" but it is giving error permission refused i have given permission to it by using command " chmode +x <script>" but it still giving the same error when i do ls -l on the directory having plugins it results for check_imap,

lrwxrwxrwx 1 root root 9 Oct 19 10:16 check_imap -> check_tcp

how do i enable this pliugin to run and show result at the application UI ???

Hopes to listen from you soon !

Best Regards,
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Check_imap Plugin Results Error "Connection Refused"??

Post by mguthrie »

Check to see if the nagios user can run it with:

su nagios -c "check_imap -H IP"

Also maybe try adding +x to the check_tcp plugin since it links to it.
mohsin2011
Posts: 63
Joined: Fri Sep 09, 2011 1:14 am

Re: Check_imap Plugin Results Error "Connection Refused"??

Post by mohsin2011 »

i am getting connection refuse error but able to see imap in Application UI i have attached snap shot for this error !

Hopes for suggestions

best regards
Attachments
ConnectionRefused.png
Locked