I believe you use 162 for a SNMP trap receiver and 161 for a SNMPD daemon service.
Best regards Giles Coochey > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Ajitabh Pandey > Sent: 14 August 2007 11:39 > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] Using check_udp plugin for checking SNMP service > > Hi, > > I want to use check_udp plugin to check whether SNMP service is > listening on target host or not. How do we do that? I think we need to > specify an "expect string". What will be the expect string in case of > SNMP. > > Is port 161 to be used or 162? > > check_udp -H my_win_server -p 161 -e ...... > > Regards. > Ajitabh Pandey > > ------------------------------------------------------------------------ - > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null