|
|
| Author |
Message |
CdG
Joined: 20 Jun 2006 Posts: 13
|
Posted: Wed Oct 11, 2006 4:00 am Post subject: 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
| Description: |
| SNMP Queres (place contents in <cacti_dir>/resource/snmp_queries/) |
|
 Download |
| Filename: |
SNMP_queries.zip |
| Filesize: |
2.38 KB |
| Downloaded: |
592 Time(s) |
| Description: |
|
 Download |
| Filename: |
cacti_host_template_directoryserver_sun_one.xml |
| Filesize: |
70.61 KB |
| Downloaded: |
1060 Time(s) |
| Description: |
|
 Download |
| Filename: |
cacti_host_template_webserver_sun_one.xml |
| Filesize: |
117.08 KB |
| Downloaded: |
656 Time(s) |
Last edited by CdG on Sun Nov 12, 2006 8:49 am; edited 2 times in total |
|
| Back to top |
|
 |
conflict
Joined: 09 Nov 2006 Posts: 7
|
Posted: Fri Nov 10, 2006 9:08 am Post subject: thank you :) |
|
|
Thx dude, i started to work on this alone...
but its not working, i dont have (Sun-One-Process.xml)...
|
|
| Back to top |
|
 |
CdG
Joined: 20 Jun 2006 Posts: 13
|
Posted: Sun Nov 12, 2006 8:50 am Post subject: Re: thank you :) |
|
|
| 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
|
|
| Back to top |
|
 |
mlanghorst
Joined: 08 Dec 2006 Posts: 8
|
Posted: Mon Dec 11, 2006 8:16 pm Post subject: |
|
|
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.
|
|
| Back to top |
|
 |
mlanghorst
Joined: 08 Dec 2006 Posts: 8
|
Posted: Tue Dec 12, 2006 1:56 am Post subject: |
|
|
| Posted too soon, found I was missing the "sagt" process running to proxy between the two agents...
|
|
| Back to top |
|
 |
mlanghorst
Joined: 08 Dec 2006 Posts: 8
|
Posted: Wed Dec 13, 2006 1:27 am Post subject: |
|
|
| 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.
|
|
| Back to top |
|
 |
CdG
Joined: 20 Jun 2006 Posts: 13
|
Posted: Wed Dec 13, 2006 5:53 am Post subject: |
|
|
| 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
|
|
| Back to top |
|
 |
flaco
Joined: 25 Jan 2007 Posts: 4
|
Posted: Thu Jan 25, 2007 10:57 am Post subject: Re: Templates for Sun ONE webserver and Sun ONE directory se |
|
|
| 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
|
|
| Back to top |
|
 |
CdG
Joined: 20 Jun 2006 Posts: 13
|
Posted: Mon Feb 12, 2007 9:11 am Post subject: Re: Templates for Sun ONE webserver and Sun ONE directory se |
|
|
| 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
| Description: |
|
 Download |
| Filename: |
cacti_host_template_mailserver_sun_one.xml |
| Filesize: |
28.81 KB |
| Downloaded: |
352 Time(s) |
|
|
| Back to top |
|
 |
flaco
Joined: 25 Jan 2007 Posts: 4
|
Posted: Mon Feb 19, 2007 6:15 am Post subject: Re: Templates for Sun ONE webserver and Sun ONE directory se |
|
|
| 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
|
|
| Back to top |
|
 |
flaco
Joined: 25 Jan 2007 Posts: 4
|
Posted: Tue Feb 20, 2007 4:43 am Post subject: Re: Templates for Sun ONE webserver and Sun ONE directory se |
|
|
| 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
|
|
| Back to top |
|
 |
CdG
Joined: 20 Jun 2006 Posts: 13
|
Posted: Sat Feb 24, 2007 3:51 am Post subject: |
|
|
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: | | 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
|
|
| Back to top |
|
 |
flaco
Joined: 25 Jan 2007 Posts: 4
|
Posted: Wed Feb 28, 2007 4:37 am Post subject: |
|
|
| CdG wrote: |
To check if the SNMP part is correctly configured, you could issue the following command from the cactiserver:
| Code: | | 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: | [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
| Description: |
| example of OID detected by snmpwalk |
|
 Download |
| Filename: |
oidDetected.txt |
| Filesize: |
39.72 KB |
| Downloaded: |
654 Time(s) |
| Description: |
| description of parameters |
|
 Download |
| Filename: |
JES_SNMP.txt |
| Filesize: |
4.45 KB |
| Downloaded: |
464 Time(s) |
|
|
| Back to top |
|
 |
|