Menu

#5 Services Display

open
nobody
None
5
2000-07-05
2000-07-05
Anonymous
No

I have imported a previously working mysql DB from an older netsaint to a newer version..that went fine however all the services fail to show up in the administration interface. All the data is there I have checked the mysql
DataBase itself. The information is there and can be queried. What is most odd is that I can use the administration interface to add data to the table and it stores it in the database correctly but neither the old data nor the ones I add are displayed. Every other portion of the database is there correctly.... The hosts,time groups,commands everything...has there been a change to the table for .6?

Discussion

  • Iain O'Cain

    Iain O'Cain - 2000-07-05

    We're seeing a similar problem, where as far as I can see, we have the same version of NSA on both systems (0.3); and NSA shows the services (and everything else) just fine on host_a, and host_b shows everything else just fine, but not services!

    All we get is a long column of "Edit" on each row, followed by a bunch of missing cells, then "No" repeated in the Recovery, Critical, and Warning columns, empty Handler cells, missing Command column, empty Args cells, and then the column with "Delete" on every row.

    Any suggestions on how we can avoid this?

     
  • Nobody/Anonymous

    I am seeing the same thing on my installation. Everything but services works fine, and it looks like just the display of the services is broken.

     
  • Nobody/Anonymous

    Re: Services Display
    Problem can be fixed by declaring variable "%data" as "local" instead of "my" in file "netsaint-lib.pl" ,
    sub "list_services" as shown below:
    sub list_services
    {
    my $csr;
    my $sql;
    my $ret;
    local %data;
    my $odd = 1;
    my $color="";
    my $where = "";
    .........................

     

Log in to post a comment.