help on check_udp
Subhendu Ghosh
sghosh at sghosh.org
Fri Nov 8 16:05:55 CET 2002
-h is your friend.
My config...
command[check_dns]=$USER1$/check_dns -H $ARG1$ -s $HOSTADDRESS$
command[check_dhcp]=$USER1$/check_dhcp -s $HOSTADDRESS$ -t 5
command[check_snmp]=$USER1$/check_snmp -H $HOSTADDRESS$ -C $USER3$ -o
$ARG1$ -u $ARG2$
service - check_snmp!.1.3.6.1.2.1.1.3.0!"timeticks up"
service - check_dns!www.cnn.com (for the dns server host)
service - check_dhcp (for the dhcp server host)
-sg
On Fri, 8 Nov 2002, Neil wrote:
> Subhendu Ghosh writes:
>
> > Depends on the app - if the app can accept and reply to plain text then
> > check_udp -s send_string -e expect_string works
> >
> > Otherwise have to fall back to application specific checks in most cases.
> > eg: dhcp will only accept packets originating on port 68 to port 67
> >
> > check_snmp, check_dhcp in thes two cases.
> >
>
> Ok. Is there any parameter that I need to add for check_snmp and check_dhcp
> in services.cfg file? I am asking this because, this is how I got check_tcp
> to work in services.cfg file:
>
> check_command check_tcp!5900
>
> This checks if VNC service is running.
>
> Followup, what about check_dns, what should be the actual line in
> services.cfg file?
>
> Thanks again.
>
> Neil
>
--
-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
More information about the Users
mailing list