Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Wed Jun 26, 2019 5:19 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 13 posts ] 
Author Message
 Post subject: Templates for Sun ONE webserver and Sun ONE directory server
PostPosted: Wed Oct 11, 2006 4:00 am 
Offline

Joined: Tue Jun 20, 2006 9:04 am
Posts: 17
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:
File comment: SNMP Queres (place contents in <cacti_dir>/resource/snmp_queries/)
SNMP_queries.zip [2.38 KiB]
Downloaded 1543 times
File comment: Sun ONE directory server
cacti_host_template_directoryserver_sun_one.xml [70.61 KiB]
Downloaded 2085 times
File comment: Sun ONE webserver
cacti_host_template_webserver_sun_one.xml [117.08 KiB]
Downloaded 1577 times


Last edited by CdG on Sun Nov 12, 2006 8:49 am, edited 2 times in total.
Top
 Profile  
 
 Post subject: thank you :)
PostPosted: Fri Nov 10, 2006 9:08 am 
Offline

Joined: Thu Nov 09, 2006 5:20 pm
Posts: 7
Thx dude, i started to work on this alone...

but its not working, i dont have (Sun-One-Process.xml)...


Top
 Profile  
 
 Post subject: Re: thank you :)
PostPosted: Sun Nov 12, 2006 8:50 am 
Offline

Joined: Tue Jun 20, 2006 9:04 am
Posts: 17
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


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 11, 2006 8:16 pm 
Offline

Joined: Fri Dec 08, 2006 7:17 pm
Posts: 8
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.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 12, 2006 1:56 am 
Offline

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


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 13, 2006 1:27 am 
Offline

Joined: Fri Dec 08, 2006 7:17 pm
Posts: 8
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.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 13, 2006 5:53 am 
Offline

Joined: Tue Jun 20, 2006 9:04 am
Posts: 17
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


Top
 Profile  
 
 Post subject: Re: Templates for Sun ONE webserver and Sun ONE directory se
PostPosted: Thu Jan 25, 2007 10:57 am 
Offline

Joined: Thu Jan 25, 2007 10:55 am
Posts: 4
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


Top
 Profile  
 
 Post subject: Re: Templates for Sun ONE webserver and Sun ONE directory se
PostPosted: Mon Feb 12, 2007 9:11 am 
Offline

Joined: Tue Jun 20, 2006 9:04 am
Posts: 17
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 1174 times
Top
 Profile  
 
 Post subject: Re: Templates for Sun ONE webserver and Sun ONE directory se
PostPosted: Mon Feb 19, 2007 6:15 am 
Offline

Joined: Thu Jan 25, 2007 10:55 am
Posts: 4
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


Top
 Profile  
 
 Post subject: Re: Templates for Sun ONE webserver and Sun ONE directory se
PostPosted: Tue Feb 20, 2007 4:43 am 
Offline

Joined: Thu Jan 25, 2007 10:55 am
Posts: 4
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


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 24, 2007 3:51 am 
Offline

Joined: Tue Jun 20, 2006 9:04 am
Posts: 17
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


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 28, 2007 4:37 am 
Offline

Joined: Thu Jan 25, 2007 10:55 am
Posts: 4
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:
[[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:
File comment: example of OID detected by snmpwalk
oidDetected.txt [39.72 KiB]
Downloaded 1559 times
File comment: description of parameters
JES_SNMP.txt [4.45 KiB]
Downloaded 1374 times
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group