Ad Widget

Collapse

Item returning non ASCII chars

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • aitor555
    Junior Member
    • Apr 2014
    • 6

    #1

    Item returning non ASCII chars

    Hi,

    I am monitoring Windows services using user parameters and a powershell script. It is working fine but some service descriptions have non ascii standard characters (Spanish) and thus they are displayed incorrectly in Zabbix.

    If I execute the script manually in the Windows box being mointores the result is OK.

    Any idea?

    Thanks in advance.
  • jan.garaj
    Senior Member
    Zabbix Certified Specialist
    • Jan 2010
    • 506

    #2
    IMHO problem is with code page/charset. Zabbix DB is UTF-8 by default. Spanish Windows should be windows-1252. So convert string to UTF-8 in your script and it should be OK.
    Devops Monitoring Expert advice: Dockerize/automate/monitor all the things.
    My DevOps stack: Docker / Kubernetes / Mesos / ECS / Terraform / Elasticsearch / Zabbix / Grafana / Puppet / Ansible / Vagrant

    Comment

    Working...