Application Perf Mgmt (BAC / BSM) Support and News Forum
Showing results for 
Search instead for 
Do you mean 

SiteScope 11.21: template.snmp variables for Dynamic Disk Space monitoring

Valued Contributor

SiteScope 11.21: template.snmp variables for Dynamic Disk Space monitoring

Hello All,

 

I am setting up snmp trap alerts for disk space monitor and need to know what variables I need to place in the templates.snmp folder? When I copy the Typical alert file and name it diskspace, what do I put in it to capture the "diskname" and the"disk free or full percentages"?

 

Here is my example: (in the file)

 

Disk/<_disk>/is/<percentFull>%/full/for/server/<name>/

 

What am I doing wrong here?

 

Any input greatly appreciated.

 

Thanks

Tex2020
4 REPLIES
HPE Expert

Re: SiteScope 11.21: template.snmp variables for Dynamic Disk Space monitoring

[ Edited ]

New disk monitor is a borwsable monitor, tags for old disk monitor won't work. Maybe try using <browsableValue1>...<browsableValue#> for metric value and for the name of metric <_browseName1>....<_browseName#>.

Kenneth Gonzalez
HP Support

If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.

If you haven’t tried it yet, come and join us in our entitled forums at Support Customer Forums
Valued Contributor

Re: SiteScope 11.21: template.snmp variables for Dynamic Disk Space monitoring

Kenneth,

 

Here is what I have in the file under template.snmp:

 

Filename = DiskSpace

 

DiskSpace/<browsableValue1>/<browsableValue#>/<__browseName1>/

And then I restarted SiteScope service and ran test alert, and here is what I get in OM for alert:

 

SN025_008 TSN Percentage of Disk space full [1] .1.0 (OctetString): TSN DISK ALERT ERROR: DiskSpace/n/a/<browsableValue#>/<__browseName1>/

 

How do I get the actual values to show?

 

Any help appreciated.

 

Thanks.

Tex2020
HPE Expert

Re: SiteScope 11.21: template.snmp variables for Dynamic Disk Space monitoring

Hi,

I meant use tags <browsableValue1>, <browsableValue2> and so on. Same for <_browseName1>, <_browseName2>... just realized I put an extra underscore in there, sorry about that. Also, no restart needed for template changes.
Kenneth Gonzalez
HP Support

If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.

If you haven’t tried it yet, come and join us in our entitled forums at Support Customer Forums
Highlighted
Valued Contributor

Re: SiteScope 11.21: template.snmp variables for Dynamic Disk Space monitoring

Kenneth,

 

I added the tags as SiteScope objects to enable filtering:

 

 

Name = DiskSpace1

tags:

<browseableValue1>

<browseableVlue2>

 

 

the template.snmp file called DiskSpace as this:

 

[Tag-Style:{target}{name}{type}{state}{value}{status}{time}]

 

I ran test and this is what I get:

 

SN025_008 TSN Percentage of Disk space full [1] .1.0 (OctetString): TSN DISK ALERT ERROR: [Tag-Style:3arget}<name}{>ype}<s>ate}<value}{s>atus}3ime}]
[2] .1.1 (OctetString):
[3] .1.2 (OctetString):

 

Any ideas what i'm doing wrong or missing here?

 

Thanks.

 

 

 

 

Tex2020