Originally Posted by datopdog
You could use nrpe and a check command to telnet to the squid port to see if its still listening.
Instead I would check connectivity
with a command like 'check_http -I proxyIp -p proxyPort -u http://somesiteaddre.ss/
' instead. If the cache doesn't return outside the URI (maybe add a regex to get certain result) then you know there's something functionally
wrong, while checking the port only tells you if the service is listening
Originally Posted by creatorrr
I am kind of a beginner so i really need more info please.
If Nagios is new for you then I strongly suggest reading the docs, backing up the default configs and experiment with testing default services. This should not be mistaken for a "RTFM"-type answer, it's just that the common first error newbies make is to not read the docs. They really are not that hard to get through, you need the knowledge to run it anyway and it makes it easier for you to ask specific questions.