You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when i try this URL (from apache access log : /check_mk/view.py?view_name=nagstamon_hosts&output_format=python&...) in my browser, i see correct data in JSON format :
hello,
I am trying to use Nagstamon (latest version : 0.9.9) for Windows with Check_MK Multisite 1.2.2p1 (and Apache2 on Debian).
I have configured it (http://mathias-kettner.de/checkmk_multisite_nagstamon.html) correctly with full URL to Multisite and login.
But i have this error :
Status: ERROR File "string", line 1
debug log :
DEBUG: 2013-06-06 15:08:14.581000 Recheck all: Rechecking all services on all hosts on all servers...
DEBUG: 2013-06-06 15:08:14.581000 MySite Recheck all: All servers, hosts and services are rechecked.
DEBUG: 2013-06-06 15:08:18.628000 MySite Checking server...
DEBUG: 2013-06-06 15:08:19.581000 MySite Checking server...
DEBUG: 2013-06-06 15:08:27.440000 MySite FetchURL: http://toto.fr/check_mk/view.py?view_name=nagstamon_hosts&output_format=python&is_host_acknowledged=-1&is_service_acknowledged=-1&is_host_notifications_enabled=-1&is_service_notifications_enabled=-1&is_host_active_checks_enabled=-1&is_service_active_checks_enabled=-1&host_scheduled_downtime_depth=-1&is_in_downtime=-1 CGI Data: None
ERROR: 2013-06-06 15:08:27.440000 MySite Traceback (most recent call last):
File "C:\Users\Henri Wahl\Desktop\nagstamon\build\pyi.win32\nagstamon\outPYZ1.pyz/Nagstamon.Server.Multisite", line 206, in _get_status
File "C:\Users\Henri Wahl\Desktop\nagstamon\build\pyi.win32\nagstamon\outPYZ1.pyz/Nagstamon.Server.Multisite", line 181, in _get_url
File "", line 1
SyntaxError: invalid syntax
DEBUG: 2013-06-06 15:08:27.440000 MySite server return values: ERROR File "string", line 1
DEBUG: 2013-06-06 15:08:33.444000 MySite ACTION: Browser http://toto.fr/check_mk/
DEBUG: 2013-06-06 15:08:46.885000 Saving config to C:\Documents and Settings\me.nagstamon\nagstamon.conf
when i clic on buttons on Nagstamon, it redirect me on corrects URL of Multisite, for example :
http://toto.fr/check_mk//index.py?start_url=view.py?view_name=nagstamon_svc "Service problems for NagStaMon", this page show services with CRIT status
logs on Apache server are OK for the fetched URL :
when i try this URL (from apache access log : /check_mk/view.py?view_name=nagstamon_hosts&output_format=python&...) in my browser, i see correct data in JSON format :
I think, the probem comes from Nagstamon and not from Check_MK.
Can you solve this probleme, please ?
best regards
Hugo
The text was updated successfully, but these errors were encountered: