Templates for Sun ONE webserver and Sun ONE directory server
Moderators: Developers, Moderators
Templates for Sun ONE webserver and Sun ONE directory server
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
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 1726 times
-
- cacti_host_template_webserver_sun_one.xml
- Sun ONE webserver
- (117.08 KiB) Downloaded 1736 times
-
- cacti_host_template_directoryserver_sun_one.xml
- Sun ONE directory server
- (70.61 KiB) Downloaded 2272 times
Last edited by CdG on Sun Nov 12, 2006 8:49 am, edited 2 times in total.
thank you :)
Thx dude, i started to work on this alone...
but its not working, i dont have (Sun-One-Process.xml)...
but its not working, i dont have (Sun-One-Process.xml)...
Re: thank you :)
Sorry about that. I've added the SNMP queries to the original post.conflict wrote:Thx dude, i started to work on this alone...
but its not working, i dont have (Sun-One-Process.xml)...
CdG
-
- Posts: 8
- Joined: Fri Dec 08, 2006 7:17 pm
-
- Posts: 8
- Joined: Fri Dec 08, 2006 7:17 pm
-
- Posts: 8
- Joined: Fri Dec 08, 2006 7:17 pm
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')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.
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
Re: Templates for Sun ONE webserver and Sun ONE directory se
Hi,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
do you have also templates for Sun One Messaging Server 6?
I very appreciate any hint or help.
Thank you very much
marco
Re: Templates for Sun ONE webserver and Sun ONE directory se
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)flaco wrote:Hi,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
do you have also templates for Sun One Messaging Server 6?
I very appreciate any hint or help.
Thank you very much
marco
CdG
- Attachments
-
- cacti_host_template_mailserver_sun_one.xml
- (28.81 KiB) Downloaded 1383 times
Re: Templates for Sun ONE webserver and Sun ONE directory se
Hello CdG,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
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
Re: Templates for Sun ONE webserver and Sun ONE directory se
Please, ignore comment quoted above. I have upgraded Cacti, and the template was imported successfuly!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
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
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:
where HOSTNAME is the hostname or IP-address of the messaging server and COMMUNITYNAME is the communityname you have configured there.
CdG
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
CdG
This is the output:CdG wrote: To check if the SNMP part is correctly configured, you could issue the following command from the cactiserver:
where HOSTNAME is the hostname or IP-address of the messaging server and COMMUNITYNAME is the communityname you have configured there.Code: Select all
snmpwalk -v2c <HOSTNAME> -c <COMMUNITYNAME> .1.3.6.1.4.1.1450
CdG
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
Thank you very much
Best Regard
marco
- Attachments
-
- oidDetected.txt
- example of OID detected by snmpwalk
- (39.72 KiB) Downloaded 1764 times
-
- JES_SNMP.txt
- description of parameters
- (4.45 KiB) Downloaded 1603 times
Who is online
Users browsing this forum: No registered users and 3 guests