Member since
01-15-2016
34
Posts
0
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2714 | 08-16-2017 09:48 AM |
06-08-2017
03:17 PM
Hi, how can we implement the following Postgres SQL Statement in Nifi?: insert into kum.checkmk_hosts ( ctime, host_state, host, host_icons, num_services_ok, num_services_warn, num_services_unknown, num_services_crit, num_services_pending ) select ctime::timestamp, host_state, host, host_icons, num_services_ok, num_services_warn, num_services_unknown, num_services_crit, num_services_pending from kum.ext_checkmk_hosts where date(ctime) >= current_date;
... View more
Labels:
- Labels:
-
Apache NiFi
06-07-2017
03:15 PM
Hi Matt, after upgrading to nifi 1.2 all works fine !!! Great work!
Thanks
... View more
06-07-2017
02:33 PM
I think my problem my version is : nifi-1.1.2
... View more
06-07-2017
01:57 PM
Hi Matt, now i got only this output : [{ "ctime":"${now()}", "host":"DUSTSADMIN.ads.xyz.de", "host_icons":"menu", "host_state":"UP", "num_services_crit":"0", "num_services_ok":"28", "num_services_pending":"0", "num_services_unknown":"0", "num_services_warn":"0" }, "ctime":"${now()}", "host":"DUSTSVMDC01.ads.xyz.de", "host_icons":"menu", "host_state":"UP", "num_services_crit":"0", "num_services_ok":"34", "num_services_pending":"0", "num_services_unknown":"0", "num_services_warn":"0" },{"ctime":"${now()}", "host":"DUSTSVMDC02.ads.xyz.de", "host_icons":"menu", "host_state":"UP", "num_services_crit":"0", "num_services_ok":"34", "num_services_pending":"0", "num_services_unknown":"0", "num_services_warn":"0" }] maybe there ist something wrong with ""? regards Timo
... View more
06-07-2017
01:55 PM
Hi Matt,
now i got only this output :
[{ "ctime":"${now()}", "host":"DUSTSADMIN.ads.xyz.de", "host_icons":"menu", "host_state":"UP", "num_services_crit":"0", "num_services_ok":"28", "num_services_pending":"0", "num_services_unknown":"0", "num_services_warn":"0" }, "ctime":"${now()}", "host":"DUSTSVMDC01.ads.xyz.de", "host_icons":"menu", "host_state":"UP", "num_services_crit":"0", "num_services_ok":"34", "num_services_pending":"0", "num_services_unknown":"0", "num_services_warn":"0" },{"ctime":"${now()}", "host":"DUSTSVMDC02.ads.xyz.de", "host_icons":"menu", "host_state":"UP", "num_services_crit":"0", "num_services_ok":"34", "num_services_pending":"0", "num_services_unknown":"0", "num_services_warn":"0" }] maybe there ist something wrong with ""?
regards
Timo
... View more
06-07-2017
11:43 AM
Hi,
we need add a default key:value with actual timestamp to the following json input structure: [ {
"host" : "DUSTSADMIN.ads.xyz.de",
"host_icons" : "menu",
"host_state" : "UP",
"num_services_crit" : "0",
"num_services_ok" : "28",
"num_services_pending" : "0",
"num_services_unknown" : "0",
"num_services_warn" : "0"
}, {
"host" : "DUSTSVMDC01.ads.xyz.de",
"host_icons" : "menu",
"host_state" : "UP",
"num_services_crit" : "0",
"num_services_ok" : "34",
"num_services_pending" : "0",
"num_services_unknown" : "0",
"num_services_warn" : "0"
}, {
"host" : "DUSTSVMDC02.ads.xyz.de",
"host_icons" : "menu",
"host_state" : "UP",
"num_services_crit" : "0",
"num_services_ok" : "34",
"num_services_pending" : "0",
"num_services_unknown" : "0",
"num_services_warn" : "0"
} ]
needed output: [ { "ctime" : "Current_timestamp",
"host" : "DUSTSADMIN.ads.xyz.de",
"host_icons" : "menu",
"host_state" : "UP",
"num_services_crit" : "0",
"num_services_ok" : "28",
"num_services_pending" : "0",
"num_services_unknown" : "0",
"num_services_warn" : "0"
}, {"ctime" : "Current_timestamp",
"host" : "DUSTSVMDC01.ads.xyz.de",
"host_icons" : "menu",
"host_state" : "UP",
"num_services_crit" : "0",
"num_services_ok" : "34",
"num_services_pending" : "0",
"num_services_unknown" : "0",
"num_services_warn" : "0"
}, {"ctime" : "Current_timestamp",
"host" : "DUSTSVMDC02.ads.xyz.de",
"host_icons" : "menu",
"host_state" : "UP",
"num_services_crit" : "0",
"num_services_ok" : "34",
"num_services_pending" : "0",
"num_services_unknown" : "0",
"num_services_warn" : "0"
} ]
... View more
Labels:
- Labels:
-
Apache NiFi
06-07-2017
11:04 AM
Hi,
we need to add a default key:value with actual timestamp to the following json input structure: [ {
"host" : "DUSTSADMIN.ads.xyz.de",
"host_icons" : "menu",
"host_state" : "UP",
"num_services_crit" : "0",
"num_services_ok" : "28",
"num_services_pending" : "0",
"num_services_unknown" : "0",
"num_services_warn" : "0"
}, {
"host" : "DUSTSVMDC01.ads.xyz.de",
"host_icons" : "menu",
"host_state" : "UP",
"num_services_crit" : "0",
"num_services_ok" : "34",
"num_services_pending" : "0",
"num_services_unknown" : "0",
"num_services_warn" : "0"
}, {
"host" : "DUSTSVMDC02.ads.xyz.de",
"host_icons" : "menu",
"host_state" : "UP",
"num_services_crit" : "0",
"num_services_ok" : "34",
"num_services_pending" : "0",
"num_services_unknown" : "0",
"num_services_warn" : "0"
} ]
needed output: [ { "ctime" : "Current_timestamp",
"host" : "DUSTSADMIN.ads.xyz.de",
"host_icons" : "menu",
"host_state" : "UP",
"num_services_crit" : "0",
"num_services_ok" : "28",
"num_services_pending" : "0",
"num_services_unknown" : "0",
"num_services_warn" : "0"
}, {"ctime" : "Current_timestamp",
"host" : "DUSTSVMDC01.ads.xyz.de",
"host_icons" : "menu",
"host_state" : "UP",
"num_services_crit" : "0",
"num_services_ok" : "34",
"num_services_pending" : "0",
"num_services_unknown" : "0",
"num_services_warn" : "0"
}, {"ctime" : "Current_timestamp",
"host" : "DUSTSVMDC02.ads.xyz.de",
"host_icons" : "menu",
"host_state" : "UP",
"num_services_crit" : "0",
"num_services_ok" : "34",
"num_services_pending" : "0",
"num_services_unknown" : "0",
"num_services_warn" : "0"
} ]
... View more
Labels:
- Labels:
-
Apache NiFi
06-05-2017
12:31 PM
The system produced in the 1 line the keys und in the next lines the values: [
[
"host_state",
"host",
"host_icons",
"num_services_ok",
"num_services_warn",
"num_services_unknown",
"num_services_crit",
"num_services_pending"
],
[
"UP",
"DUSTSADMIN.ads.xyz.de",
"menu",
"28",
"0",
"0",
"0",
"0"
],
[
"UP",
"DUSTSVMDC01.ads.xyz.de",
"menu",
"34",
"0",
"0",
"0",
"0"
],
[
"UP",
"DUSTSVMDC02.ads.xyz.de",
"menu",
"34",
"0",
"0",
"0",
"0"
]
How to convert to key=value structure ?:
{
"host_state":"UP",
"host":"DUSTSVMDC01.ads.xyz.de",
"host_icons":"menu",
"num_services_ok":"28",
"num_services_warn":"0",
"num_services_unknown":"0",
"num_services_crit":"0",
"num_services_pending":"0",
}
... View more
Labels:
- Labels:
-
Apache NiFi
-
Apache Pig
01-24-2017
03:04 PM
We want to use our existing Active Directory environment for Kerberos User Authentication.
Using the Ambari Kerberos Wizard the following prereequisites needs to be checked to progress ...
Active Directory OU User container for principals has been created, For example "OU=Hadoop-Cluster,OU=People,dc=domain,dc=com" Active Directory administrative credentials with delegated control of “Create, delete, and manage user accounts” on the OU User container are implemented What is the reason for creating an Active Directory OU User container for principals and Active Directory administrative credentials with delegated control of “Create, delete, and manage user accounts” on the OU User container?
... View more
Labels:
- Labels:
-
Apache Ambari
-
Apache Hadoop
-
Kerberos
- « Previous
-
- 1
- 2
- Next »