Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


cacti with SNMP4W2K

 
Post new topic   Reply to topic    Cacti Forum Index -> Help: Windows Specific
Author Message
boubouche



Joined: 05 Feb 2003
Posts: 1

PostPosted: Wed Feb 05, 2003 8:42 am    Post subject: cacti with SNMP4W2K Reply with quote

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
Back to top
jlancaster



Joined: 04 Feb 2003
Posts: 38
Location: Dallas, TX

PostPosted: Thu Feb 13, 2003 3:40 pm    Post subject: Reply with quote

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.
Back to top
bulek
Cacti Pro User


Joined: 20 May 2002
Posts: 852
Location: Poland

PostPosted: Thu Feb 13, 2003 5:11 pm    Post subject: Reply with quote

Leading "." is rather standard in snmp world. For example ucd(net)-snmp uses the same notation. Seems that dot should be recognized as a root of the MIB tree.

- bulek
Back to top
DavidM



Joined: 08 Feb 2003
Posts: 34

PostPosted: Sun Feb 16, 2003 7:57 pm    Post subject: Reply with quote

Can someone tell me how to add an OID from a Windows MIB to Cacti on Linux?

I have the OID # -- I just don't know how to get the counters from Linux and into Cacti. Is there a built in script for this?

Please advise.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: Windows Specific All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group