Templates for Sun ONE webserver and Sun ONE directory server

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

Moderators: Moderators, Developers

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

Templates for Sun ONE webserver and Sun ONE directory server

#1 Post by CdG » Wed Oct 11, 2006 4:00 am

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 1554 times
cacti_host_template_webserver_sun_one.xml
Sun ONE webserver
(117.08 KiB) Downloaded 1593 times
cacti_host_template_directoryserver_sun_one.xml
Sun ONE directory server
(70.61 KiB) Downloaded 2100 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 :)

#2 Post by conflict » Fri Nov 10, 2006 9:08 am

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 :)

#3 Post by CdG » Sun Nov 12, 2006 8:50 am

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

#4 Post by mlanghorst » Mon Dec 11, 2006 8:16 pm

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

#5 Post by mlanghorst » Tue Dec 12, 2006 1:56 am

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

#6 Post by mlanghorst » Wed Dec 13, 2006 1:27 am

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

#7 Post by CdG » Wed Dec 13, 2006 5:53 am

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

#8 Post by flaco » Thu Jan 25, 2007 10:57 am

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

#9 Post by CdG » Mon Feb 12, 2007 9:11 am

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 1187 times

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

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

#10 Post by flaco » Mon Feb 19, 2007 6:15 am

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

#11 Post by flaco » Tue Feb 20, 2007 4:43 am

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

#12 Post by CdG » Sat Feb 24, 2007 3:51 am

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

#13 Post by flaco » Wed Feb 28, 2007 4:37 am

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

[[email protected]~]# snmpwalk -v2c sun.csi.it -c gorgoroth .1.3.6.1.4.1.1450
Timeout: No Response from sun.csi.it
[[email protected]~]# 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 1574 times
JES_SNMP.txt
description of parameters
(4.45 KiB) Downloaded 1387 times

Post Reply