I am having an issue trying to make a .cfg file for our as/400 system.
The server is already configured and set up for SNMP and has the
community set as public however, when I attempt to compile a .cfg
file, it states that it cannot find it. Example is below, any insight
would be appreciated.
C:\mrtg\bin>perl cfgmaker pub...@168.1.1.250 --global "WorkDir: C:
\Raisin\Nut\Br
an\Inetpub\wwwroot\MRTG\AS400" --output as400.cfg
SNMP Error:
receiving response PDU: Unknown error
SNMPv1_Session (remote host: "168.1.1.250" [168.1.1.250].161)
community: "public"
request ID: -1548590867
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at C:/mrtg/bin\..\lib\mrtg2/SNMP_util.pm line 629
SNMPWALK Problem for 1.3.6.1.2.1.1 on pub...@168.1.1.250::::::v4only
at cfgmaker line 950
WARNING: Skipping pub...@168.1.1.250: as no info could be retrieved
Is it setup to respond to SNMP v1 requests? Try walking it with
snmpwalk -c public -v1 168.1.1.250
or v2c
snmpwalk -c public -v2c 168.1.1.250
Jason
Jason,
Thanks again for the feedback, where exactly would I integrate that
command?
Update: we got it to work out, had to reboot as400 :X thx again jason
I've never had the priveledge of playing with a AS/400 of any kind,
sorry... snmpwalk is a command to run at the CLI like ls, cp, rm, ect.
Try running
snmpwalk -c public -v2c 168.1.1.250 ssCpuRawUser
and see if you get anything back from it. If you do you can use
ssCpuRawUser and ssCpuRawNice for CPU graphs.
Jason