Re: snmpv3 exec/extend

Michael Schwartzkopff <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Dr. Schwartzkopff IT Services
Message-ID <[email protected]>
> Hello list,
> 
> I tried to implement the googleping example in snmp v3 (was working in snmp
> v1/v2 before):
> 
> 
> Following error is thrown:
> duplicate table data attempted to be entered. row exists
> Failed to register extend entry 'googleping' - possibly duplicate name.
> 
> snmpd.conf
> # extensions
> 
> exec googleping /bin/ping -c 1 -w 1 -q www.google.com
> extend googleping /bin/ping -c 1 -w 1 -qn www.google.com
> 
> 
> Which is the correct syntax for snmp v3?


I would name the two checks different:

exec gpingexec /bin/ping -c 1 -w 1 -q www.google.com
extend gpingextend /bin/ping -c 1 -w 1 -qn www.google.com

-- 
Dr. Michael Schwartzkopff
Guardinistr. 63
81375 München

Tel: (0163) 172 50 98
Fax: (089) 620 304 13

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEABECAAYFAlBEtpoACgkQH8fVuZhm6xw+xgCgiExz480yFOMlFukycE0GsZtG
9isAn1uur561k0Q18D25LRS0O7Z0iL8D
=3obR
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.