snmp on fedora

Dan Track dan.track at gmail.com
Mon Jan 30 13:28:53 UTC 2006


On 1/30/06, Steven Ringwald <asric at asric.com> wrote:
> Dan Track wrote:
> > Hi,
> >
> > I  hope someone can help me please.
> >
> > I trying to get mrtg to monitor cpu and memory on a server, but its
> > not working. In my mrtg.cfg file I have the following:
> >
> > Target[server.cpu]:.1.3.6.1.4.1.2021.11.9.0&.1.3.6.1.4.1.2021.11.10.0:string at server
>
>
> Do you have net-snmp-utils installed?
>
> If you do, you might want to try using those OIDs on the server, and
> seeing if any authentication errors/etc are reported:
>
> snmpwalk -v1 -c string server.1.3.6.1.4.1.2021.11.9.0
> snmpwalk -v1 -c string server .1.3.6.1.4.1.2021.11.10.0
>
> would the command for the example above, assuming Version 1 SNMP.


Hi

Thanks for the advice. I have the following snmp rpm's installed from hp:
net-snmp-cmaX
net-snmp-perl
net-snmp-cmaX-libs
net-snmp-cmaX-utils

I tried your command but I got the following:

snmpwalk: Unknown host

I tried writing the hostname and even the ip, but it keeps saying the above.

I'm not experienced with mrtg that much, so any help will be appreciated.

Thanks
Dan




More information about the fedora-list mailing list