Novell eDirectory usage over SNMP

Templates, scripts for templates, scripts and requests for templates.

Moderators: Moderators, Developers

Post Reply
Author
Message
fladi
Posts: 4
Joined: Fri Dec 11, 2009 5:32 am

Novell eDirectory usage over SNMP

#1 Post by fladi » Fri Dec 11, 2009 5:40 am

This SNMP Data Query is currently in production use at our Novell eDirectory deployment in order to monitor usage of LDAP and NCP queries. It was tested for eDirectory running on Linux (SLES10/OES2) but never for Netware!

Documentation is inside the archive (README) but it should be fairly easy to use since it only consists of several XML files.

It is capable of monitoring LDAP and NCP separately and provides the following graphs:
  • Binds
  • Errors
  • Operations
  • Replication
  • Traffic
Information on how to enable SNMP agent for eDirectory is also included inside the README file.
Attachments
edirectory-0.1.tar.gz
Graph eDirectory usage for Cacti
(24.79 KiB) Downloaded 275 times

User avatar
Linegod
Developer
Posts: 1630
Joined: Thu Feb 20, 2003 10:16 am
Location: Canada
Contact:

#2 Post by Linegod » Fri Dec 11, 2009 10:36 am

If you get a chance, please post these to the template area of the docs site:

http://docs.cacti.net/templates
http://docs.cacti.net/templates.guidelines

Place them in whatever area you believe fits...
--
Live fast, die young
You're sucking up my bandwidth.

J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca

fladi
Posts: 4
Joined: Fri Dec 11, 2009 5:32 am

#3 Post by fladi » Fri Dec 11, 2009 11:32 am

Did so but I'm not sure if I placed it at the correct namespace. Please move if anyone sees better fit:
http://docs.cacti.net/usertemplate:graph:edirectory

User avatar
Linegod
Developer
Posts: 1630
Joined: Thu Feb 20, 2003 10:16 am
Location: Canada
Contact:

#4 Post by Linegod » Fri Dec 11, 2009 11:44 am

That should be fine.

Thanks.
--
Live fast, die young
You're sucking up my bandwidth.

J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca

nebula71
Posts: 4
Joined: Wed Dec 23, 2009 4:15 pm
Location: Eindhoven
Contact:

#5 Post by nebula71 » Wed Dec 23, 2009 4:28 pm

Just adding a little more detail to the installation:

on novel create a dir (as root) /etc/ndssnmp

mkdir /etc/ndssnmp
vi /etc/ndssnmp/ndssnmp.cfg

#---
INTERACTIVE off
MONITOR on
SERVER localhost
#---

Check if ndssnmp module is loaded with command:

ndssnmp -l

answer should be:
Module snmp loaded successfully.

That was the novell bit for me:
---------------------------
then on the cacti server do the edir stuff and create the data-query as shown in picture:

name: SNMP - Get eDirectory Usage
Description: eDirectory Usage
Data Input Method: Get SNMP Data (Indexed)


Then with the associated graph stuff underneath select: ADD and make it look like the second graph..
Do this for all imported xml types

After that it should look,like : Schermafbeelding 2009-12-23 om 22.24.25.png

The rest is explained in the docu again:

Nebula
Attachments
Schermafbeelding 2009-12-23 om 22.19.12.png
Schermafbeelding 2009-12-23 om 22.19.12.png (41.25 KiB) Viewed 8435 times
Schermafbeelding 2009-12-23 om 22.24.17.png
Schermafbeelding 2009-12-23 om 22.24.17.png (25.26 KiB) Viewed 8435 times
Schermafbeelding 2009-12-23 om 22.24.25.png
Schermafbeelding 2009-12-23 om 22.24.25.png (69.93 KiB) Viewed 8435 times

nebula71
Posts: 4
Joined: Wed Dec 23, 2009 4:15 pm
Location: Eindhoven
Contact:

#6 Post by nebula71 » Wed Dec 23, 2009 4:31 pm

GREAT xml kit..

Problem i have is that i get equal values at the moment.

See graphs..

Any thoughts? Did i make a config mistake you think somewhere?

See other post for data-query config :)
Attachments
graph_image-1.php.png
graph_image-1.php.png (23.89 KiB) Viewed 8431 times
graph_image.php.png
graph_image.php.png (47.64 KiB) Viewed 8431 times

nebula71
Posts: 4
Joined: Wed Dec 23, 2009 4:15 pm
Location: Eindhoven
Contact:

#7 Post by nebula71 » Thu Dec 24, 2009 3:38 am

I figured it out..

One thing missing in the explanation is the following situation:

When click on the associated graphs, doublecheck the templates ..

Ah well.. a picture tells more than a instruction..

See attaches...
Attachments
Schermafbeelding 2009-12-24 om 09.35.59.png
Schermafbeelding 2009-12-24 om 09.35.59.png (80.4 KiB) Viewed 8418 times
Schermafbeelding 2009-12-24 om 09.35.42.png
Schermafbeelding 2009-12-24 om 09.35.42.png (78.69 KiB) Viewed 8418 times

nebula71
Posts: 4
Joined: Wed Dec 23, 2009 4:15 pm
Location: Eindhoven
Contact:

#8 Post by nebula71 » Thu Dec 24, 2009 3:43 am

Isn't it beautifull when people figure it out themselves.. Saves you the trouble of thinking about the solution..

--
Murphy's Tech law:
Technology is dominated by those who manage what they do not understand

AdmiralAnl
Posts: 1
Joined: Fri Aug 15, 2014 5:11 pm

Re: Novell eDirectory usage over SNMP

#9 Post by AdmiralAnl » Fri Aug 15, 2014 5:12 pm

I've followed the directions in the Readme , but i get :

+ Running data query [11].
+ Found type = '3' [SNMP Query].
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/edirectory.xml'
+ XML file parsed ok.
+ <oid_num_indexes> missing in XML file, 'Index Count Changed' emulated by counting oid_index entries
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.23.2.98.1.2.3.1.1.2.1' Index Count: 0
+ No SNMP data returned

Post Reply