Add a mib for cacti !!!
Moderators: Developers, Moderators
Add a mib for cacti !!!
I know that i'm not in a good forum, but if anyone can help me et's cool.
I want to add a perfmib.mib in my mibs share (/usr/local/share/snmp/mibs on my Fedora Core 3) for monitoring the snmp oid of my windows 2000 server (user session / files open).
How can i do this ???
Thanks a lot and sorry for the forum mystake
I want to add a perfmib.mib in my mibs share (/usr/local/share/snmp/mibs on my Fedora Core 3) for monitoring the snmp oid of my windows 2000 server (user session / files open).
How can i do this ???
Thanks a lot and sorry for the forum mystake
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
You don't really need to add the mib. Cacti will not use it, typically, you use the OID.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Yes, I'm sure cacti doesn't need and doesn't care about the MIBS.
Can you query that OID with snmpget from that cacti machine? Do you have your SNMP version correct?
Can you query that OID with snmpget from that cacti machine? Do you have your SNMP version correct?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
I would venture that the SNMP agent on the server isn't allowing it. Also, from the Linux box, try to use snmpwalk, that way you see if you are in a tree, and if it's a single value, it will still return it.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
I can't acces to the private section with snmpwalk.
I have integrate the snmp4w2k agent on a server (http://www.snmp4tpc.com/) W2K, and modify the getif program.
In the doc it explain that perfmib is the mib for microsoft server.
Getif return the true value of private mib section.
I think that i have to modify (perhaps) this mib (perfmib) and add it to the mib of my linux net-snmp, but i don't know how !!!
I have integrate the snmp4w2k agent on a server (http://www.snmp4tpc.com/) W2K, and modify the getif program.
In the doc it explain that perfmib is the mib for microsoft server.
Getif return the true value of private mib section.
I think that i have to modify (perhaps) this mib (perfmib) and add it to the mib of my linux net-snmp, but i don't know how !!!
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Wookii,
Please understand that the need for a Linux MIB to be "compiled" (aka added to perfmib) would never be a requirement. From Cacti's perspective, SNMP has two components (there are actually more):
1) Agent Component - That which responds to requests relative to a MIB based OID value (this is where the agents host system need to know how to respond to MIB requests, and in the case of Microsoft, integration into the MIB.BIN file via the MIBCC application)
2) Poller Component - A device which randomly (or not so randomly) uses the network to obtain data from SNMP agent's (aka Cacti). The Pollers host device does not needs the snmp agent unless you are a) Running Windoz (because I don't know why) or b) You want Cacti to graph it's performance.
Therefore, you should not have to "compile" another hosts agent MIB information to the Windoz MIB.BIN file. I think you are just a little confused.
There are MIB files that you place in a MIBS directory on your poller system to allow you to access intellegent, english language, information about each OID (download GetIF to see), but they are not needed for Cacti unless you are creating Templates.
TheWitness
Please understand that the need for a Linux MIB to be "compiled" (aka added to perfmib) would never be a requirement. From Cacti's perspective, SNMP has two components (there are actually more):
1) Agent Component - That which responds to requests relative to a MIB based OID value (this is where the agents host system need to know how to respond to MIB requests, and in the case of Microsoft, integration into the MIB.BIN file via the MIBCC application)
2) Poller Component - A device which randomly (or not so randomly) uses the network to obtain data from SNMP agent's (aka Cacti). The Pollers host device does not needs the snmp agent unless you are a) Running Windoz (because I don't know why) or b) You want Cacti to graph it's performance.
Therefore, you should not have to "compile" another hosts agent MIB information to the Windoz MIB.BIN file. I think you are just a little confused.
There are MIB files that you place in a MIBS directory on your poller system to allow you to access intellegent, english language, information about each OID (download GetIF to see), but they are not needed for Cacti unless you are creating Templates.
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Ok,
You need to obtain a copy of the Windows200x resource kit and find documentation on the MIBCC application. Then you can add additional information such as DHCP, DNS, IIS Web Server, and Other (eg. HP Insight Manager) information.
If you are using a Compaq/HP Server, HP actually has an excellent writeup as to how to use their product to integrate other mibs with the MIB.BIN file.
Good Luck,
TheWitness
You need to obtain a copy of the Windows200x resource kit and find documentation on the MIBCC application. Then you can add additional information such as DHCP, DNS, IIS Web Server, and Other (eg. HP Insight Manager) information.
If you are using a Compaq/HP Server, HP actually has an excellent writeup as to how to use their product to integrate other mibs with the MIB.BIN file.
Good Luck,
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Yes, your agent is net-snmp and not microsoft. Net-snmp makes microsoft look quite weak.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Who is online
Users browsing this forum: No registered users and 0 guests