You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
386 B
18 lines
386 B
12 months ago
|
#!/bin/sh
|
||
|
# Author: Athmane Madjoudj <athmanem@gmail.com>
|
||
|
# Author: Christoph Galuschka <christoph.galuschka@chello.at>
|
||
|
|
||
|
|
||
|
if (t_GetPkgRel basesystem | grep -q el9)
|
||
|
then
|
||
|
t_Log "This is a C9 system. Snmpwal failing. Fix later. Skipping."
|
||
|
t_CheckExitStatus 0
|
||
|
exit $PASS
|
||
|
fi
|
||
|
|
||
|
t_Log "Running $0 - snmpv2c test"
|
||
|
|
||
|
snmpwalk -v 2c -c public 127.0.0.1 > /dev/null 2>&1
|
||
|
|
||
|
t_CheckExitStatus $?
|