Templates for Sun ONE webserver and Sun ONE directory server

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

Moderators: Developers, Moderators

Post Reply
CdG
Posts: 17
Joined: Tue Jun 20, 2006 9:04 am

Templates for Sun ONE webserver and Sun ONE directory server

Post by CdG »

Hi all,

I played around a bit with the SNMP interface for the Sun ONE webserver and Sun ONE directory server and came up with these two host templates.

Enjoy!

CdG
Attachments
SNMP_queries.zip
SNMP Queres (place contents in <cacti_dir>/resource/snmp_queries/)
(2.38 KiB) Downloaded 1647 times
cacti_host_template_webserver_sun_one.xml
Sun ONE webserver
(117.08 KiB) Downloaded 1686 times
cacti_host_template_directoryserver_sun_one.xml
Sun ONE directory server
(70.61 KiB) Downloaded 2193 times
Last edited by CdG on Sun Nov 12, 2006 8:49 am, edited 2 times in total.
conflict
Posts: 7
Joined: Thu Nov 09, 2006 5:20 pm

thank you :)

Post by conflict »

Thx dude, i started to work on this alone...

but its not working, i dont have (Sun-One-Process.xml)...
CdG
Posts: 17
Joined: Tue Jun 20, 2006 9:04 am

Re: thank you :)

Post by CdG »

conflict wrote:Thx dude, i started to work on this alone...

but its not working, i dont have (Sun-One-Process.xml)...
Sorry about that. I've added the SNMP queries to the original post.

CdG
mlanghorst
Posts: 8
Joined: Fri Dec 08, 2006 7:17 pm

Post by mlanghorst »

Would you happen to have a how-to on getting net-snmp and the iplanet/SunONE snmp daemons to play well together?

Haven't done much with the snmp daemons before, and I'm having problems being able to query the host mibs from the SunONE daemon as master.
mlanghorst
Posts: 8
Joined: Fri Dec 08, 2006 7:17 pm

Post by mlanghorst »

Posted too soon, found I was missing the "sagt" process running to proxy between the two agents...
mlanghorst
Posts: 8
Joined: Fri Dec 08, 2006 7:17 pm

Post by mlanghorst »

One question though. I've imported both the directory server and the web server templates. When modifying an existing net-snmp host, I can't add the SunONE web server graphs. The Directory Server graphs are available, and under both graph and host templates, the web server templates are there. I just can't seem to add them to an existing host.
CdG
Posts: 17
Joined: Tue Jun 20, 2006 9:04 am

Post by CdG »

mlanghorst wrote:One question though. I've imported both the directory server and the web server templates. When modifying an existing net-snmp host, I can't add the SunONE web server graphs. The Directory Server graphs are available, and under both graph and host templates, the web server templates are there. I just can't seem to add them to an existing host.
The webserver graphs are available through 'Associated Data Queries'. (just take a look at the host template 'WebServer - Sun One')

My personal preference is to create a different device object for each application that I am running, so a Unix server running the Sun One webserver will be monitored through one device with host template net-snmp and one with hosttemplate Sun One.

CdG
flaco
Posts: 4
Joined: Thu Jan 25, 2007 10:55 am

Re: Templates for Sun ONE webserver and Sun ONE directory se

Post by flaco »

CdG wrote:Hi all,

I played around a bit with the SNMP interface for the Sun ONE webserver and Sun ONE directory server and came up with these two host templates.

Enjoy!

CdG
Hi,
do you have also templates for Sun One Messaging Server 6?

I very appreciate any hint or help.
Thank you very much
marco
CdG
Posts: 17
Joined: Tue Jun 20, 2006 9:04 am

Re: Templates for Sun ONE webserver and Sun ONE directory se

Post by CdG »

flaco wrote:
CdG wrote:Hi all,

I played around a bit with the SNMP interface for the Sun ONE webserver and Sun ONE directory server and came up with these two host templates.

Enjoy!

CdG
Hi,
do you have also templates for Sun One Messaging Server 6?

I very appreciate any hint or help.
Thank you very much
marco
I don't have a Sun ONE Messaging Server to play around with, but from the MIB I created this host template. Could you give it a try? (Since I've not tested it, I don't know if it works at all)

CdG
Attachments
cacti_host_template_mailserver_sun_one.xml
(28.81 KiB) Downloaded 1290 times
flaco
Posts: 4
Joined: Thu Jan 25, 2007 10:55 am

Re: Templates for Sun ONE webserver and Sun ONE directory se

Post by flaco »

CdG wrote: I don't have a Sun ONE Messaging Server to play around with, but from the MIB I created this host template. Could you give it a try? (Since I've not tested it, I don't know if it works at all)

CdG
Hello CdG,
I thank you very much! I tried with this template, but my Cacti doesn't let me to import it. It says:

Error: XML: Hash version does not exist.


How can I import this template?

Thanks again
Marco
flaco
Posts: 4
Joined: Thu Jan 25, 2007 10:55 am

Re: Templates for Sun ONE webserver and Sun ONE directory se

Post by flaco »

flaco wrote:
Hello CdG,
I thank you very much! I tried with this template, but my Cacti doesn't let me to import it. It says:

Error: XML: Hash version does not exist.


How can I import this template?

Thanks again
Marco
Please, ignore comment quoted above. I have upgraded Cacti, and the template was imported successfuly!

I thank you very much again. Unfortunately I'm looking for something more detailed. I need more parameters, as written in RFC2788 and 2789, also for IMAP, HTTP, POP.
I should study your template and I should complete it with more OIDs and graphs.

I made the two graphs that your template provides, for now I see only "0" values. It could also be a problem on SNMP of SUN...

Best Regards
Marco
CdG
Posts: 17
Joined: Tue Jun 20, 2006 9:04 am

Post by CdG »

I am not sure if the metrics that you are looking for are supported by the SunONE SNMP agent. I created the templates based on the MIB that I found on the Sun website.

I might very well have done something wrong with these graphs: since I don't have a SunONE messaging server to play with, I am unable to test the templates.

To check if the SNMP part is correctly configured, you could issue the following command from the cactiserver:

Code: Select all

 snmpwalk -v2c <HOSTNAME> -c <COMMUNITYNAME> .1.3.6.1.4.1.1450
where HOSTNAME is the hostname or IP-address of the messaging server and COMMUNITYNAME is the communityname you have configured there.

CdG
flaco
Posts: 4
Joined: Thu Jan 25, 2007 10:55 am

Post by flaco »

CdG wrote: To check if the SNMP part is correctly configured, you could issue the following command from the cactiserver:

Code: Select all

 snmpwalk -v2c <HOSTNAME> -c <COMMUNITYNAME> .1.3.6.1.4.1.1450
where HOSTNAME is the hostname or IP-address of the messaging server and COMMUNITYNAME is the communityname you have configured there.
CdG
This is the output:

Code: Select all

[root@~]# snmpwalk -v2c sun.csi.it -c gorgoroth .1.3.6.1.4.1.1450
Timeout: No Response from sun.csi.it
[root@~]# snmpwalk -v1 sun.csi.it -c gorgoroth .1.3.6.1.4.1.1450
End of MIB
I attach in the text file (this forum cut my message) what I think about these monitoring parameters.

Thank you very much
Best Regard
marco
Attachments
oidDetected.txt
example of OID detected by snmpwalk
(39.72 KiB) Downloaded 1672 times
JES_SNMP.txt
description of parameters
(4.45 KiB) Downloaded 1496 times
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest