No .rrd File

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Eireocean
Posts: 22
Joined: Tue Oct 11, 2016 2:23 am

No .rrd File

Post by Eireocean »

Good Day,

We are running the following plugin :

# ./check_ncpa.py -H srv004253 -P 5693 -t N@g1os -M 'plugins/check_entitlement' -a '-ew=95% -ec=100%'
ENTITLEMENT CRITICAL ent_used=0.89(CRITICAL) ent=0.10 ent_max=1 vcpu_busy=89.42%(CRITICAL) |ent_used=0.89;ent=0.10;ent_max=1,vcpu_busy=89.42


However, no graphs are being created. Does it have to do with the way the output is presented / fomatted ?

Initalising
Using /usr/local/nagios/share/perfdata/
RRDTool /usr/bin/rrdtool found.
RRDTool /usr/bin/rrdtool is executable
PHP Function proc_open is enabled
PHP Function fpassthru is enabled
PHP Function xml_parser_create is enabled
PHP zlib Support found.
PHP GD Support found.
RRD Base Directory /usr/local/nagios/share/perfdata/ found.
Hostname XXXXXXX is set.
Directory /usr/local/nagios/share/perfdata/srv004253 found.
Service Description CPU_Entitlement is set.
RRD Database/usr/local/nagios/share/perfdata/XXXXXXX/CPU_Entitlement.rrd not found.


# ls -al /usr/local/nagios/share/perfdata/XXXXXXX/
total 800
drwxr-xr-x 2 nagios nagios 4096 Oct 30 16:51 .
drwxr-xr-x. 1017 nagios nagios 36864 Oct 28 12:50 ..
-rw-r--r-- 1 nagios nagios 768224 Oct 30 16:51 _HOST_.rrd
-rw-r--r-- 1 nagios nagios 1966 Oct 30 16:51 _HOST_.xml


Regards
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: No .rrd File

Post by scottwilkerson »

Eireocean wrote:However, no graphs are being created. Does it have to do with the way the output is presented / fomatted ?
Yes, your plugin is outputting this for performance data

Code: Select all

|ent_used=0.89;ent=0.10;ent_max=1,vcpu_busy=89.42
this is not valid, each performance data metric should be separated by a space
https://nagios-plugins.org/doc/guidelines.html#AEN200
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked