>> any ideas or am i being dumb? > You're not dumb... it's my script that's forcing you to use "-v 2c". > Just switch it over to "-v 1" and you should be fine. > > I really should make that a config parameter at the top of the > script, since different people use different SNMP versions...
i had spotted that BUT i overlooked the community! I may make that a variable. Anyway # ./retrieve_custom_snmp -H xxxx -o 1.3.6.1.4.1.2021.57 CHASSIS: CRITICAL [ SCSI A external termination is Critical (3.374 V) ] thanks for your help this is now working fine ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ 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