add data source for check_log
parent
1e41ec20da
commit
88be1780ad
@ -0,0 +1,20 @@
|
|||||||
|
{
|
||||||
|
"description": "This is the 'check_log' Nagios plugin, available e.g. in '/usr/lib/nagios/plugins/'.\n",
|
||||||
|
"functions": {
|
||||||
|
"file-read": [
|
||||||
|
{
|
||||||
|
"code": "check_log -F [file] -O [output]\ncat [output]\n"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"file-write": [
|
||||||
|
{
|
||||||
|
"code": "check_log -F [input] -O [file]\n"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"sudo": [
|
||||||
|
{
|
||||||
|
"code": "sudo check_log -F [input] -O [file]\n"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue