Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#84 IndexError: list index out of range

v1.0_(example)
closed
nobody
None
5
2014-02-18
2012-09-13
Anonymous
No

Hi,

When I start Nagstamon, I get this:

DEBUG: 2012-09-13 11:27:36.615356 Nagios Created server.
DEBUG: 2012-09-13 11:27:36.866265 Nagios FetchURL: http://eon/nagios/cgi-bin/status.cgi/status.cgi?hostgroup=all&style=hostdetail&hoststatustypes=12&hostprops=0 CGI Data: None
DEBUG: 2012-09-13 11:27:36.872122 Checking for new version...
DEBUG: 2012-09-13 11:27:36.872311 Nagios FetchURL: http://nagstamon.sourceforge.net/latest_version_0.9.9 CGI Data: None
ERROR: 2012-09-13 11:27:36.918348 Nagios Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/Nagstamon/Server/Generic.py", line 449, in _get_status
table = htobj('table', {'class': 'status'})[0]
IndexError: list index out of range

DEBUG: 2012-09-13 11:27:36.918440 Nagios server return values: ERROR IndexError: list index out of range

I join the html file generated by the previous url.

Discussion


  • Anonymous
    2012-09-13

     
    Last edit: Anonymous 2014-03-31
    Attachments

  • Anonymous
    2012-09-25

    Hi,
    I changed the url to http://eon/nagios/cgi-bin/ but I have the same error.
    Thanks.

     
  • HenriWahl
    HenriWahl
    2012-09-25

    What is debug output in this case?

     

  • Anonymous
    2012-10-15

    Hi,

    The debug:

    DEBUG: 2012-10-15 10:51:20.392982 Nagios Created server.
    DEBUG: 2012-10-15 10:51:20.636759 Nagios FetchURL: http://eon/nagios/cgi-bin//status.cgi?hostgroup=all&style=hostdetail&hoststatustypes=12&hostprops=0 CGI Data: None
    DEBUG: 2012-10-15 10:51:20.638157 Checking for new version...
    DEBUG: 2012-10-15 10:51:20.638415 Nagios FetchURL: http://nagstamon.sourceforge.net/latest_version_0.9.9 CGI Data: None
    ERROR: 2012-10-15 10:51:20.670122 Nagios Traceback (most recent call last):
    File "/usr/lib/python2.7/site-packages/Nagstamon/Server/Generic.py", line 449, in _get_status
    table = htobj('table', {'class': 'status'})[0]
    IndexError: list index out of range

    DEBUG: 2012-10-15 10:51:20.670203 Nagios server return values: ERROR IndexError: list index out of range
    DEBUG: 2012-10-15 10:51:21.287690 Latest version from sourceforge.net: 0.9.9

     
    Last edit: Anonymous 2013-11-15
  • HenriWahl
    HenriWahl
    2012-10-15

    Please use your cgi adddres without trailing "/" and try again.
    Regards

     
  • HenriWahl
    HenriWahl
    2013-01-22

    • status: open --> closed
    • milestone: --> v1.0_(example)