Menu

Monitor AntiVirus via WMI

Help
2008-09-03
2013-04-25
  • David Jacobson

    David Jacobson - 2008-09-03

    Hi There,

    I have an interesting problem, if it's not NC_Net related please let me know.

    OS: XP SP3
    NC_Net : V4.4.0
    Monitoring Anti Virus Up to date via WMI works perfectly, however to monitor for the AV Version does not...

    Note: I have verified about 10 times that I'm using TABS and not spaces, this is in passive.cfg:

    21 Anti Virus -l SecurityCenter^displayName^AntiVirusProduct -w FALSE
    21 Anti Virus Updates -l SecurityCenter^productUptoDate^AntiVirusProduct -w FALSE

    Anti Virus Updates works with returning "TRUE", Anti Virus returns "Error Check_output is NULL:" in passive.cfg

    I have tested this with two seperate boxes running Trend and AVG with same results.

    I have also verified via "WMIC" that I can get displayname via command line and it returns the correct result.

    Any assistance would be greatly appreciated.

    Regards,
    David

     
    • tony

      tony - 2008-09-20

      Sorry for the delay,
      The problem seems to be that the WMI did not find any results in that node, and thus had a NULL responce.  Are you sure you should have a value, my system does not have one.

      TOny

      TO elaborate
      I tried this command on my system using my WMI Viewer
      and as you can see there is no Data in the VersionNumber so NC_NEt internally recieved an empty output result from the command and as a result it tries to sends the  ERROR message Back

      instance of AntiVirusProduct
      {
              companyName = "McAfee";
              displayName = "McAfee VirusScan";
              instanceGuid = "CLIPPPPXXXXXXXXX";
              onAccessScanningEnabled = TRUE;
              productUptoDate = TRUE;
              versionNumber = "";
      };

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.