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

Critical: Connection type is unknown, options are: tcp, file. Input #43

Open
HAlover99 opened this issue Jan 13, 2019 · 1 comment
Open

Comments

@HAlover99
Copy link

Hi all,

I have a strange problem with influDB because the database collect the data from nagios but continue to show this message in /var/log/syslog

Jan 13 12:02:55 mi-sg3-nagios-01 nagflux[26725]: #33[31m2019-01-13 13:02:55 Critical: Connection type is unknown, options are: tcp, file. Input:

Could you help me to fix it?

nms@mi-sg3-nagios-01:~$ curl -G "http://localhost:8086/query?db=nagflux&pretty=true" --data-urlencode "q=show series"
{
"results": [
{
"statement_id": 0,
"series": [
{
"columns": [
"key"
],
"values": [
[
"metrics,command=check-host-alive,crit-fill=none,host=mi-sg12-sw-01,performanceLabel=pl,service=hostcheck,unit=%,warn-fill=none"
],
[
"metrics,command=check-host-alive,crit-fill=none,host=mi-sg12-sw-01,performanceLabel=rta,service=hostcheck,unit=ms,warn-fill=none"
],
[
"metrics,command=check-host-alive,crit-fill=none,host=mi-sg12-sw-02,performanceLabel=pl,service=hostcheck,unit=%,warn-fill=none"
],
[
"metrics,command=check-host-alive,crit-fill=none,host=mi-sg12-sw-02,performanceLabel=rta,service=hostcheck,unit=ms,warn-fill=none"
],
[
"metrics,command=check-host-alive,crit-fill=none,host=mi-sg12-sw-04,performanceLabel=pl,service=hostcheck,unit=%,warn-fill=none"
],
[
"metrics,command=check-host-alive,crit-fill=none,host=mi-sg12-sw-04,performanceLabel=rta,service=hostcheck,unit=ms,warn-fill=none"
],
[
"metrics,command=check-host-alive,crit-fill=none,host=mi-sg3-sw-01,performanceLabel=pl,service=hostcheck,unit=%,warn-fill=none"
],
[
"metrics,command=check-host-alive,crit-fill=none,host=mi-sg3-sw-01,performanceLabel=rta,service=hostcheck,unit=ms,warn-fill=none"
],
[
"metrics,command=check-host-alive,crit-fill=none,host=mi-sg3-sw-02,performanceLabel=pl,service=hostcheck,unit=%,warn-fill=none"
],
[
"metrics,command=check-host-alive,crit-fill=none,host=mi-sg3-sw-02,performanceLabel=rta,service=hostcheck,unit=ms,warn-fill=none"
],
[
"metrics,command=check-host-alive,crit-fill=none,host=rm-msc10-sw-01,performanceLabel=pl,service=hostcheck,unit=%,warn-fill=none"
],

Best Regards
CR

@dragonfly-net
Copy link

Check your config file, section [Livestatus] required.
#30

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

2 participants