Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Suggestions/Notes

 
Post new topic   Reply to topic    Cacti Forum Index -> Help: Unstable Development Versions
Author Message
Burke



Joined: 05 Nov 2002
Posts: 42
Location: Virginia, USA

PostPosted: Thu May 08, 2003 11:55 am    Post subject: Suggestions/Notes Reply with quote

I've finally decided to test out cacti-0.8-pre20030508 on a small installation at my company's office -- waiting for full release before rolling out to client sites..

First off, Excellent job with the templates for the Netware servers. It may be worth noting somewhere that sys:system/nma/nma5.ncf should be run in autoexec.ncf on the netware servers so that all this data in SNMP becomes available.
NMA5.NCF:
Code:

Load NMA\HostMIB
Load NMA\ServInst NoSAP


I went through the Add polling host screens to add a Netware server, using the Netware host templates -- very nice.. However, at the end (after the create graph screen), it should return to some other screen with a success message rather than the "Polling Hosts [edit: <NetwareServer>] " screen. I thought it was a little odd coming back to this configuration screen that I had already been through.

Do not show a "logout" button unless the user is logged in.

On the Volume information graph template, the total space should be the first graph item ... By default, it came up as the second item after the free space. This means that the free space area was "behind", not visible, the total space area.

Can you make it so that CPU information automatically creates all necessary data for multiple CPUs ? Similar to the way you iterate the volumes & create their respective traphs. And, each CPU would have a different colored line on the same graph.

Also, when deleting an item, you have "Cancel" and "Create" on confirmation screens .. The "Cancel" is appropriate (possibly replaceable by "No"), but the "Create" should definitely be replaced with a "Yes" button.

I'd love to something similar to the Netware Templates for Windows servers! (Yeah, I know Gates & his crew have done nasty things to SNMP support on the servers that severely limit the available info.. but SNMPBoy's PERFMIB tweak provides a pretty good set of info that I've used on several WinNT4/Win2K servers).
Back to top
Burke



Joined: 05 Nov 2002
Posts: 42
Location: Virginia, USA

PostPosted: Mon May 12, 2003 1:00 pm    Post subject: Reply with quote

Did I say something wrong here? 4 days, and 30 views later yet no comments
Back to top
raX
Lead Developer


Joined: 13 Oct 2001
Posts: 2235
Location: Carlisle, PA

PostPosted: Mon May 12, 2003 4:53 pm    Post subject: Re: Suggestions/Notes Reply with quote

I am sorry for not getting to this sooner. I did in fact read this post a few days back, but I usually like to let feature request posts "sit" for a little while so I can decide what would be best.

Burke wrote:
First off, Excellent job with the templates for the Netware servers. It may be worth noting somewhere that sys:system/nma/nma5.ncf should be run in autoexec.ncf on the netware servers so that all this data in SNMP becomes available.
NMA5.NCF:
Code:

Load NMA\HostMIB
Load NMA\ServInst NoSAP


This is a useful suggestion, but I am not sure the best place to put it. Where could I put something like this, so that users would see it before attempting to graph their Netware boxes?

Burke wrote:
I went through the Add polling host screens to add a Netware server, using the Netware host templates -- very nice.. However, at the end (after the create graph screen), it should return to some other screen with a success message rather than the "Polling Hosts [edit: <NetwareServer>] " screen. I thought it was a little odd coming back to this configuration screen that I had already been through.


I agree here. I have a few ideas of where to redirect the user, but I would be curious to hear what you think.

Burke wrote:
Do not show a "logout" button unless the user is logged in.


I take it you mean on the graph viewing screen. I will make sure to fix this.

Burke wrote:
On the Volume information graph template, the total space should be the first graph item ... By default, it came up as the second item after the free space. This means that the free space area was "behind", not visible, the total space area.


I fixed this on my local database, it will make its way into cacti.sql shortly.

Burke wrote:
Can you make it so that CPU information automatically creates all necessary data for multiple CPUs ? Similar to the way you iterate the volumes & create their respective traphs. And, each CPU would have a different colored line on the same graph.


I could do this if Netware provides this information in a parsible format. I am able to retrieve a list of Volumes because Netware provides each volume via SNMP and gives it a unqiue index value. Is the same true for CPUs as well?

Burke wrote:
Also, when deleting an item, you have "Cancel" and "Create" on confirmation screens .. The "Cancel" is appropriate (possibly replaceable by "No"), but the "Create" should definitely be replaced with a "Yes" button.


I agree with you here. Perhaps I will replace these with "Yes" and "No" buttons.

Burke wrote:
I'd love to something similar to the Netware Templates for Windows servers! (Yeah, I know Gates & his crew have done nasty things to SNMP support on the servers that severely limit the available info.. but SNMPBoy's PERFMIB tweak provides a pretty good set of info that I've used on several WinNT4/Win2K servers).


You're right, the default SNMP under Win2K sucks . There has actually been some interesting development about retrieving statistics from a Win2K server using WMI and Perl. There is not much preventing me from including such scripts/templates in Cacti now, just some time I guess. I am also not sure if these Perl scripts would work under a Unix-based environment.

I will take a closer look at the PERFMIB that you mentioned. That is definitely a viable option as well.

Let me know if you have any further suggestions.

-Ian
Back to top
Burke



Joined: 05 Nov 2002
Posts: 42
Location: Virginia, USA

PostPosted: Tue May 13, 2003 10:40 am    Post subject: Netware Processor Information Reply with quote

raX wrote:

Code:

Load NMA\HostMIB
Load NMA\ServInst NoSAP


This is a useful suggestion, but I am not sure the best place to put it. Where could I put something like this, so that users would see it before attempting to graph their Netware boxes?


Going back through these steps, a couple options come to mind...
1. Some sort of JavaScript that gets activated with each selection in the drop down box gives notes regarding that particular selection. (I prefer this one of the two because it's a more immediate notice regarding the special needs of the selected host template).
2. Add to the documentation. I'm sure this should be a given.

Burke wrote:
I went through the Add polling host screens to add a Netware server, using the Netware host templates -- very nice.. However, at the end (after the create graph screen), it should return to some other screen with a success message rather than the "Polling Hosts [edit: <NetwareServer>] " screen. I thought it was a little odd coming back to this configuration screen that I had already been through.

raX wrote:

I agree here. I have a few ideas of where to redirect the user, but I would be curious to hear what you think.

I think the most appropriate destination would be back to host.php, as if the user clicked "Polling Hosts" in the Data Gathering menu. This way, they see their new addition in the list and know that was added.


Burke wrote:
Can you make it so that CPU information automatically creates all necessary data for multiple CPUs ? Similar to the way you iterate the volumes & create their respective traphs. And, each CPU would have a different colored line on the same graph.

raX wrote:

I could do this if Netware provides this information in a parsible format. I am able to retrieve a list of Volumes because Netware provides each volume via SNMP and gives it a unqiue index value. Is the same true for CPUs as well?

You've prompted me to help a little more -- I dug up the MIB browser on one of our dual-processor Netware 6 servers... Here's some useful info:
.1.3.6.1.4.1.23.2.27.3.3.0 = Processor count
OBJECT-TYPE iso(1).org(3).dod(6).internet(1).private(4).enterprises(1).novell(23).mibdoc(2).nwHostExtensions(27).nwhrDevice(3).nwhrProcessorCount(3)

Processor Table: .1.3.6.1.4.1.23.2.27.3.16.1
iso(1).org(3).dod(6).internet(1).private(4).enterprises(1).novell(23).mibdoc(2).nwHostExtensions(27).nwhrDevice(3).nwhrProcessorTable(16).nwhrProcessorEntry(1)
Next Objects under this OID:
nwhrProcessorIndex(1) -- A unique value for each entry in the table .

nwhrProcessorNum(2) -- Processor Number .
nwhrProcessorStatus(3) -- Status of this processor .
nwhrProcessorUtilization(4) -- Processing load on this processor for the last second , expresses as a percentage .
nwhrProcessorInterrupts(5) -- Number of interrupts fired on this processor in the last second .
nwhrProcessorIntTime(6) -- Amount of time that the processor spent processing interrupts in the last second , expressed in microseconds .
nwhrProcessorThreads(7) --

Sample output.. starting with the last entry before the processor table:
Code:

enterprises.23.2.27.3.15.1.15.8 = 0
enterprises.23.2.27.3.16.1.1.1 = 1
enterprises.23.2.27.3.16.1.1.2 = 2
enterprises.23.2.27.3.16.1.2.1 = 0
enterprises.23.2.27.3.16.1.2.2 = 1
enterprises.23.2.27.3.16.1.3.1 = 1
enterprises.23.2.27.3.16.1.3.2 = 1
enterprises.23.2.27.3.16.1.4.1 = 0
enterprises.23.2.27.3.16.1.4.2 = 0
enterprises.23.2.27.3.16.1.5.1 = 178034079
enterprises.23.2.27.3.16.1.5.2 = 347894134
enterprises.23.2.27.3.16.1.6.1 = 534796
enterprises.23.2.27.3.16.1.6.2 = 1435626
enterprises.23.2.27.3.16.1.7.1 = 53
enterprises.23.2.27.3.16.1.7.2 = 56

So, for each CPU, there are corresponding entries for each OID .. at the moment this SNMPWALK was performed, both CPUs were at 0%
Back to top
Burke



Joined: 05 Nov 2002
Posts: 42
Location: Virginia, USA

PostPosted: Tue May 13, 2003 10:55 am    Post subject: xml file Reply with quote

I think I get it... Just a few minutes I'll post a netware_cpu.xml file for resources, I think I understand the syntax...just not sure what to do from there -- have at it Ian.
Back to top
Burke



Joined: 05 Nov 2002
Posts: 42
Location: Virginia, USA

PostPosted: Tue May 13, 2003 11:01 am    Post subject: netware_cpu.xml Reply with quote

Code:

<interface>
   <name>Get Netware Processor Information</name>
   <oid_index>.1.3.6.1.4.1.23.2.27.3.16.1 </oid_index>
   
   <fields>
      <nwhrProcessorIndex>
         <name>Index</name>
         <method>walk</method>
         <source>value</source>
         <direction>input</direction>
         <oid>.1.3.6.1.4.1.23.2.27.3.16.1.1</oid>
      </nwhrProcessorIndex>
      <nwhrProcessorNum>
         <name>Volume Name</name>
         <method>walk</method>
         <source>value</source>
         <direction>input</direction>
         <oid>.1.3.6.1.4.1.23.2.27.3.16.1.2</oid>
      </nwhrProcessorNum>
      <nwhrProcessorStatus>
         <name>File System Type</name>
         <method>walk</method>
         <source>value</source>
         <direction>input</direction>
         <oid>.1.3.6.1.4.1.23.2.27.3.16.1.3</oid>
      </nwhrProcessorStatus>
      <nwhrProcessorUtilization>
         <name>Total Space</name>
         <method>walk</method>
         <source>value</source>
         <direction>output</direction>
         <oid>.1.3.6.1.4.1.23.2.27.3.16.1.4</oid>
      </nwhrProcessorUtilization>
      <nwhrProcessorInterrupts>
         <name>Free Space</name>
         <method>walk</method>
         <source>value</source>
         <direction>output</direction>
         <oid>.1.3.6.1.4.1.23.2.27.3.16.1.5</oid>
      </nwhrProcessorInterrupts>
      <nwhrProcessorIntTime>
         <name>Freeable Space</name>
         <method>walk</method>
         <source>value</source>
         <direction>output</direction>
         <oid>.1.3.6.1.4.1.23.2.27.3.16.1.6</oid>
      </nwhrProcessorIntTime>
      <nwhrProcessorThreads>
         <name>Non-Freeable Space</name>
         <method>walk</method>
         <source>value</source>
         <direction>output</direction>
         <oid>.1.3.6.1.4.1.23.2.27.3.16.1.7</oid>
      </nwhrProcessorThreads>
   </fields>
</interface>
[/code]
Back to top
raX
Lead Developer


Joined: 13 Oct 2001
Posts: 2235
Location: Carlisle, PA

PostPosted: Sun May 18, 2003 5:08 pm    Post subject: Re: Netware Processor Information Reply with quote

Burke wrote:
2. Add to the documentation. I'm sure this should be a given.


I will probably end up adding it to the documentation... at least initially. Just need to find a place for it now

Burke wrote:
I think the most appropriate destination would be back to host.php, as if the user clicked "Polling Hosts" in the Data Gathering menu. This way, they see their new addition in the list and know that was added.


I made this change, let's see how it goes.

Burke wrote:
Can you make it so that CPU information automatically creates all necessary data for multiple CPUs ? Similar to the way you iterate the volumes & create their respective traphs. And, each CPU would have a different colored line on the same graph.


Using all of the very useful information you provided, I added 'netware_cpu.xml'. I also added this to the default cacti.sql database and tested it on a Netware 5.1 box I have access to. Works great, thanks!

Let me know if you find anything else, the release is going to happen very soon

-Ian
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: Unstable Development Versions All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group