Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The plugins on RHEL 7.2 with ElasticSearch 2.2.0 works fine with "munin-run" from commandline, but not within the "munin-node" deamon #9

Open
srecebov opened this issue Mar 22, 2016 · 0 comments

Comments

@srecebov
Copy link

The plugins on RHEL 7.2 with ElasticSearch 2.2.0 works fine with "munin-run" from commandline (1), but not within the "munin-node" deamon (2).

(1)========================================

**$for i in elastic*; do sudo munin-run $i; done**
filter_size.value 0
field_size.value 1810111592
relocating_shards.value 0
active_shards.value 86
active_primary_shards.value 86
delayed_unassigned_shards.value 0
initializing_shards.value 0
unassigned_shards.value 86
num_docs.value 1625779043
young.value 22449394
old.value 93028
index_size.value 326320956997
search.value 2239097
index.value 4671004712
delete.value 0
get.value 1201318
heap_used.value 14076187952
heap_max.value 33198768128
non_heap_used.value 136132720
heap_committed.value 33198768128
non_heap_committed.value 138285056
young_used.value 99639656
old_used.value 13954949032
old_peak.value 25439922600
young_peak.value 697958400
survivor_used.value 21599264
survivor_peak.value 87228416
count.value 167
peak_count.value 193

(2)========================================

**$cat /var/log/munin-node/munin-node.log**
2016/03/22-18:13:35 Munin::Node::Server (type Net::Server::Fork) starting! pid(13540)
Resolved [*]:4949 to [0.0.0.0]:4949, IPv4
Binding to TCP port 4949 on host 0.0.0.0 with IPv4
Setting gid to "0 0"
2016/03/22-18:13:35 [13540] Error output from elasticsearch_docs:
2016/03/22-18:13:35 [13540]     500 for http://localhost:9200/_nodes at /etc/munin/plugins/elasticsearch_docs line 49.
2016/03/22-18:13:35 [13540]             main::get_json_from_url('http://localhost:9200/_nodes') called at /etc/munin/plugins/elasticsearch_docs line 55
2016/03/22-18:13:35 [13540] Service 'elasticsearch_docs' exited with status 13/0.
2016/03/22-18:13:35 [13540] Error output from elasticsearch_index_total:
2016/03/22-18:13:35 [13540]     500 for http://localhost:9200/_nodes at /etc/munin/plugins/elasticsearch_index_total line 48.
2016/03/22-18:13:35 [13540]             main::get_json_from_url('http://localhost:9200/_nodes') called at /etc/munin/plugins/elasticsearch_index_total line 54
2016/03/22-18:13:35 [13540] Service 'elasticsearch_index_total' exited with status 13/0.
2016/03/22-18:13:36 [13540] Error output from elasticsearch_jvm_threads:
2016/03/22-18:13:36 [13540]     500 for http://localhost:9200/_nodes?jvm=true at /etc/munin/plugins/elasticsearch_jvm_threads line 49.
2016/03/22-18:13:36 [13540]             main::get_json_from_url('http://localhost:9200/_nodes?jvm=true') called at /etc/munin/plugins/elasticsearch_jvm_threads line 55
2016/03/22-18:13:36 [13540] Service 'elasticsearch_jvm_threads' exited with status 13/0.
2016/03/22-18:13:36 [13540] Error output from elasticsearch_jvm_memory:
2016/03/22-18:13:36 [13540]     500 for http://localhost:9200/_nodes/_local/stats/jvm at /etc/munin/plugins/elasticsearch_jvm_memory line 49.
2016/03/22-18:13:36 [13540]             main::get_json_from_url('http://localhost:9200/_nodes/_local/stats/jvm') called at /etc/munin/plugins/elasticsearch_jvm_memory line 55
2016/03/22-18:13:36 [13540] Service 'elasticsearch_jvm_memory' exited with status 13/0.
2016/03/22-18:13:36 [13540] Error output from elasticsearch_jvm_pools_size:
2016/03/22-18:13:36 [13540]     500 for http://localhost:9200/_nodes?jvm=true at /etc/munin/plugins/elasticsearch_jvm_pools_size line 49.
2016/03/22-18:13:36 [13540]             main::get_json_from_url('http://localhost:9200/_nodes?jvm=true') called at /etc/munin/plugins/elasticsearch_jvm_pools_size line 55
2016/03/22-18:13:36 [13540] Service 'elasticsearch_jvm_pools_size' exited with status 13/0.
2016/03/22-18:13:37 [13540] Error output from elasticsearch_cluster_shards:
2016/03/22-18:13:37 [13540]     500 for http://localhost:9200/_cluster/health at /etc/munin/plugins/elasticsearch_cluster_shards line 49.
2016/03/22-18:13:37 [13540]             main::get_json_from_url('http://localhost:9200/_cluster/health') called at /etc/munin/plugins/elasticsearch_cluster_shards line 55
2016/03/22-18:13:37 [13540] Service 'elasticsearch_cluster_shards' exited with status 13/0.
2016/03/22-18:13:37 [13540] Error output from elasticsearch_cache:
2016/03/22-18:13:37 [13540]     500 for http://localhost:9200/_nodes at /etc/munin/plugins/elasticsearch_cache line 49.
2016/03/22-18:13:37 [13540]             main::get_json_from_url('http://localhost:9200/_nodes') called at /etc/munin/plugins/elasticsearch_cache line 55
2016/03/22-18:13:37 [13540] Service 'elasticsearch_cache' exited with status 13/0.
2016/03/22-18:13:37 [13540] Error output from elasticsearch_index_size:
2016/03/22-18:13:37 [13540]     500 for http://localhost:9200/_nodes at /etc/munin/plugins/elasticsearch_index_size line 49.
2016/03/22-18:13:37 [13540]             main::get_json_from_url('http://localhost:9200/_nodes') called at /etc/munin/plugins/elasticsearch_index_size line 55
2016/03/22-18:13:37 [13540] Service 'elasticsearch_index_size' exited with status 13/0.
2016/03/22-18:13:37 [13540] Error output from elasticsearch_gc_time:
2016/03/22-18:13:37 [13540]     500 for http://localhost:9200/_nodes/_local/stats/jvm at /etc/munin/plugins/elasticsearch_gc_time line 49.
2016/03/22-18:13:37 [13540]             main::get_json_from_url('http://localhost:9200/_nodes/_local/stats/jvm') called at /etc/munin/plugins/elasticsearch_gc_time line 55
2016/03/22-18:13:37 [13540] Service 'elasticsearch_gc_time' exited with status 13/0.

**$telnet localhost 4949
**Connected to localhost.
Escape character is '^]'.
# munin node at foo
**list**
cpu df df_inode elasticsearch_cache elasticsearch_cluster_shards elasticsearch_docs elasticsearch_gc_time elasticsearch_index_size elasticsearch_index_total elasticsearch_jvm_memory elasticsearch_jvm_pools_size elasticsearch_jvm_threads entropy forks fw_conntrack fw_forwarded_local fw_packets if_eno16780032 if_err_eno16780032 interrupts irqstats load memory netstat ntp_10.204.0.20 ntp_kernel_err ntp_kernel_pll_freq ntp_kernel_pll_off ntp_offset ntp_states open_files open_inodes postfix_mailqueue postfix_mailvolume proc_pri processes swap tcp threads uptime users vmstat
**fetch elasticsearch_cache**
# Bad exit
.
**fetch elasticsearch_cluster_shards**
# Bad exit
.
**fetch elasticsearch_docs**
# Bad exit
.
quit
Connection closed by foreign host.


---
$cat /etc/redhat-release
**Red Hat Enterprise Linux Server release 7.2 (Maipo)**

---
$curl http://localhost:9200/
**{
  "name" : "foo",
  "cluster_name" : "foo-test",
  "version" : {
    "number" : "2.2.0",
    "build_hash" : "8ff36d139e16f8720f2947ef62c8167a888992fe",
    "build_timestamp" : "2016-01-27T13:32:39Z",
    "build_snapshot" : false,
    "lucene_version" : "5.4.1"
  },
  "tagline" : "You Know, for Search"
}**

---
**$ls -lh elasticsearch_* **
lrwxrwxrwx. 1 root root 44 Mar 22 17:11 elasticsearch_cache -> /usr/share/munin/plugins/elasticsearch_cache
lrwxrwxrwx. 1 root root 53 Mar 22 17:11 elasticsearch_cluster_shards -> /usr/share/munin/plugins/elasticsearch_cluster_shards
lrwxrwxrwx. 1 root root 43 Mar 22 17:11 elasticsearch_docs -> /usr/share/munin/plugins/elasticsearch_docs
lrwxrwxrwx. 1 root root 46 Mar 22 17:11 elasticsearch_gc_time -> /usr/share/munin/plugins/elasticsearch_gc_time
lrwxrwxrwx. 1 root root 49 Mar 22 17:11 elasticsearch_index_size -> /usr/share/munin/plugins/elasticsearch_index_size
lrwxrwxrwx. 1 root root 50 Mar 22 17:11 elasticsearch_index_total -> /usr/share/munin/plugins/elasticsearch_index_total
lrwxrwxrwx. 1 root root 49 Mar 22 17:11 elasticsearch_jvm_memory -> /usr/share/munin/plugins/elasticsearch_jvm_memory
lrwxrwxrwx. 1 root root 53 Mar 22 17:11 elasticsearch_jvm_pools_size -> /usr/share/munin/plugins/elasticsearch_jvm_pools_size
lrwxrwxrwx. 1 root root 50 Mar 22 17:11 elasticsearch_jvm_threads -> /usr/share/munin/plugins/elasticsearch_jvm_threads

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant