I have installed SNMP4W2K on my windows 2000 pro, and i try to get all the information about my PC but i have only the network traffic, why ???
Can you help me ??
Thanks
cacti with SNMP4W2K
Moderators: Developers, Moderators
cacti with SNMP4W2K
Boubouche
Ca progresse ...
Ca progresse ...
-
- Posts: 38
- Joined: Tue Feb 04, 2003 12:05 pm
- Location: Dallas, TX
- Contact:
Which Data Input Source (DIS) are you using to poll SNMP on Windows? You should be using "Get SNMP Data".
Also note that the guy that supports SNMP4W2K encourages the use of GetIf to browse the mibs on the target host to figure out where and what you want to poll. I discovered a wierd error in GetIf when I tried to install it on the same WinXP Pro workstation that I am using to test Cacti.
Installing Cacti on a Windows box requires that you move the mib files that come with PHP to the C:\USR\MIBS directory. GetIf normally looks for mib files in the subdirectory immediately below the directory where it is installed. (e.g., C:\Program Files\GetIf v2.2\mibs). However, I discovered that GetIf will also find the mib files in C:\USR\MIBS and not work properly because the mib files that come with PHP are SNMPv2. GetIf only works with SNMPv1.
The only way I was able to work around the problem is to write a batch file to temporarily move C:\USR\MIBS until after I started GetIf, then move it back. I can post the batch file if you'd like.
After browsing the mib and deciding on what to monitor, I also discovered that OIDs I specified must include a leading "." or the poll won't work. For example, to poll for NetWare processor load, I used an OID of ".1.3.6.1.2.1.25.3.3.1.2.1" where the ".1" at the end of the string indicates the OID instance. I think the leading "." must be an idiosyncracy of PHP; Perl does not use it.
Hope this helps.
Also note that the guy that supports SNMP4W2K encourages the use of GetIf to browse the mibs on the target host to figure out where and what you want to poll. I discovered a wierd error in GetIf when I tried to install it on the same WinXP Pro workstation that I am using to test Cacti.
Installing Cacti on a Windows box requires that you move the mib files that come with PHP to the C:\USR\MIBS directory. GetIf normally looks for mib files in the subdirectory immediately below the directory where it is installed. (e.g., C:\Program Files\GetIf v2.2\mibs). However, I discovered that GetIf will also find the mib files in C:\USR\MIBS and not work properly because the mib files that come with PHP are SNMPv2. GetIf only works with SNMPv1.
The only way I was able to work around the problem is to write a batch file to temporarily move C:\USR\MIBS until after I started GetIf, then move it back. I can post the batch file if you'd like.
After browsing the mib and deciding on what to monitor, I also discovered that OIDs I specified must include a leading "." or the poll won't work. For example, to poll for NetWare processor load, I used an OID of ".1.3.6.1.2.1.25.3.3.1.2.1" where the ".1" at the end of the string indicates the OID instance. I think the leading "." must be an idiosyncracy of PHP; Perl does not use it.
Hope this helps.
Who is online
Users browsing this forum: No registered users and 2 guests