• 15

A PHP Error was encountered

Severity: Notice

Message: Undefined index: userid

Filename: views/question.php

Line Number: 191


File: /home/prodcxja/public_html/questions/application/views/question.php
Line: 191
Function: _error_handler

File: /home/prodcxja/public_html/questions/application/controllers/Questions.php
Line: 433
Function: view

File: /home/prodcxja/public_html/questions/index.php
Line: 315
Function: require_once

I wanted to create a Alerting Policy in Stackdriver on "Volume Free Space" to get warned if the disk is almost full. So I used the Metric Threshold alert. However when I enable this check I get warnings straight away for a couple small partitions that are also on that machine. It seems I cannot limit it to only the main device.

A warning looks like this:

Disk usage for server-website website with metric labels {device=tmpfs state===free} is below the threshold of 5368709120 with a value of 170569728.

Can I prevent alerts for these partitions (like tmpfs) or can I completely exclude these partitions from being reported to Stackdriver at all? It seems the Stackdriver agent automatically generates the collectd config.

Warm tip !!!

This article is reproduced from Stack Exchange / Stack Overflow, please click

Trending Tags