SiteScope 11.21: template.snmp variables for Dynamic Disk Space monitoring (214 Views)
Reply
Super Advisor
TEX2020
Posts: 337
Registered: ‎02-02-2011
Message 1 of 5 (214 Views)

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
Please use plain text.
HP Expert
kenneth.gonzalez
Posts: 1,378
Registered: ‎04-28-2011
Message 2 of 5 (203 Views)

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
Please use plain text.
Super Advisor
TEX2020
Posts: 337
Registered: ‎02-02-2011
Message 3 of 5 (198 Views)

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
Please use plain text.
HP Expert
kenneth.gonzalez
Posts: 1,378
Registered: ‎04-28-2011
Message 4 of 5 (194 Views)

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
Please use plain text.
Super Advisor
TEX2020
Posts: 337
Registered: ‎02-02-2011
Message 5 of 5 (191 Views)

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
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation