SNMP + Cacti

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
karthi
Posts: 26
Joined: Thu Feb 02, 2006 2:59 pm

SNMP + Cacti

Post by karthi »

HI,

Pls help me in SNMP see error below where i will get snmp php file


ERROR: opening '/www/htdocs/cacti/rra/tmpux183_snmp_oid_26.rrd': No such file or directory
many
Posts: 3
Joined: Tue Feb 07, 2006 12:07 pm
Location: London, UK

Post by many »

Kathi,

I assume you have got the correct privileges set for the rra directory for the account running the cmd.php script. Otherwise, you will have problems updating/creating the .rrd file. By default the rra directory maybe owned by root.

another possibility is that the rrd was deleted by mistake.
Yin Man
"change is the only constant"
karthi
Posts: 26
Joined: Thu Feb 02, 2006 2:59 pm

Post by karthi »

Many,

Thanks for your info.

Its already priviledges there but i did ping rrd and load averages rrd on localhost but only the problem in SNMP ie trying remote host.

And alos during configuration for remote host its showing
SNMP Error..Pls help
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

If you only want to monitor the remote host by Advanced Ping, leave the community string for this host empty. cacti will respond with SNMP not in use. Otherwise, the remote host must respond to SNMP requests.
To check this, run

Code: Select all

snmpwalk -c <your community string> -v 1 <remote host> system
If this fails, the snmp config of that host isn't correct (or a firewall is blocking you).
If running pre-cacti-0-8.6h, set Downed Host Detection to "SNMP - Reliable". Host must show as "up" in the Devices list to be polled
Reinhard
karthi
Posts: 26
Joined: Thu Feb 02, 2006 2:59 pm

Post by karthi »

hi,

I tried below and output also there pls tell me what could be the prblm
snmpwalk -v 1 -c public 199.63.11.22

Timeout: No Response from 199.63.11.22
karthi
Posts: 26
Joined: Thu Feb 02, 2006 2:59 pm

Post by karthi »

Error given below pls help me


[root@cacti-linux etc]# snmpwalk -c public 127.0.0.1 system
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (HOST-RESOURCES-MIB): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (SNMPv2-SMI): At line 0 in (none)
Cannot find module (NOTIFICATION-LOG-MIB): At line 0 in (none)
Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
Cannot find module (NET-SNMP-AGENT-MIB): At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)
Cannot find module (SNMPv2-TM): At line 0 in (none)
system: Unknown Object Identifier (Sub-id not found: (top) -> system)
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

The errors for both systems indicate, that SNMP was not set up correctly. You need to configure sth like /etc/snmp/snmpd.conf and start the snmpd daemon.
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests