Hi everyone
I'm facing a issue with nagios, I'm running nagios core 4.0.1 over Centos 6.4 32 bits, Nagios already is monitoring by ping some hosts, so far is ok but i got this message:
***** Nagios *****
Notification Type: PROBLEM
Service: HTTP
Host: localhost
Address: 127.0.0.1
State: CRITICAL
Date/Time: Fri Apr 25 12:49:16 CDT 2014
Additional Info:
Connection refused
And the same for ssh, I'm using a diferent port for ssh and http service in the localhost, so how can change the default setting on Nagios and tell to Nagios that it needs to look in other port?
someone throw me a bone here?
Thanks in advance.
how define a diffent port on ssh http service
-
- Posts: 2
- Joined: Fri Apr 25, 2014 6:02 pm
- Location: /home/boboashanti/
Re: how define a diffent port on ssh http service
Did you look at our plugins documentation?
http://nagios-plugins.org/doc/man/check_http.html
The -p option should be what you want.
http://nagios-plugins.org/doc/man/check_http.html
The -p option should be what you want.
Former Nagios employee
-
- Posts: 2
- Joined: Fri Apr 25, 2014 6:02 pm
- Location: /home/boboashanti/
Re: how define a diffent port on ssh http service
Hi dear tmcdonald
Thanks for you answer, It works. just added the option -p
I'm getting involve with nagios documentation.
Best regards.
Thanks for you answer, It works. just added the option -p
I'm getting involve with nagios documentation.
Best regards.
Re: how define a diffent port on ssh http service
Glad I could help. I'll be closing this thread now, but feel free to open another if you need anything in the future!
Former Nagios employee