started with cacti v0.8.5a (Debian) and after some starting problems got it running with monitoring some Cisco Switches and about 3 W2K machines.
But during this starting phase i´ve tried more switches and 3 more W2K machines and i got "SNMP error".
Here´s what i´ve done:
- Created a new device (one test with W2K template and other tests without)
- Opened the device and got the littele red error message in the upper left corner "SNMP error". Locating the errormessage in the source host.php
Code: Select all
$snmp_system = cacti_snmp_get($host["hostname"], $host["snmp_community"], ".1.3.6.1.2.1.1.1.0", $host["snmp_version"], $host["snmp_username"], $host["snmp_password"], $host["snmp_port"], $host["snmp_timeout"]);
if ($snmp_system == "") {
print "<span style='color: #ff0000; font-weight: bold;'>SNMP error</span>\n";
Code: Select all
snmpget -O vt -c public -v 1 -t 500 ip_of_machine:161 .1.3.6.1.2.1.1.1.0
Code: Select all
STRING: Hardware: x86 Family 15 Model 2 Stepping 9 AT/AT COMPATIBLE - Software: Windows 2000 Version 5.0 (Build 2195 Multiprocessor Free)
Any help is appreciated
tia,
Marcus