Robert,

The N: field would contain the host name.  This will be blank for 
recurring notifications as they do not apply to a specific device.  
Your log shows successful notifications.  You should verify that 
the called program is correctly processing the command line arguments.

Joe
In reply to 26 Nov message from [EMAIL PROTECTED]:

>Thanks for the help, I will try that.  Do you know how to de-crypt the debug log?  I
>setup five reoccurring notifications to run the programs.  I tested the programs, all
>work in the setup window.  When the reoccurring notifications run, I get the info
>bellow in the debug log, and no output. Not sure that the info in the log means, but I
>think the 'N' means it was not successful in running.  Any ideas?  I am restarting the
>box right now to eliminate any Microsoft potential problems....

>Thanks,

>RPW

>:  Debug log  :

>Alert added N: F:0 A:Program/Cur_name_dev_with_down_serv Alert Que size: 1
>Alert added N: F:0 A:Program/Cur_name_down_dev
>Alert Que size: 2
>Alert added N: F:0 A:Program/Cur_num_down_dev
>Alert Que size: 3
>Alert added N: F:0 A:Program/Cur_num_down_serv
>Alert Que size: 4
>Alert added N: F:0 A:Program/Cur_num_up_hosts
>Alert Que size: 5
>Processing Alerts...
>Alert processing C:1120 item= alert=Program/Cur_name_dev_with_down_serv attempt=0
>Alert processing C:1120 item= alert=Program/Cur_name_dev_with_down_serv attempt=0
>20011126<09>112000<09><09>Alert<09>successful process N: F:0 
>A:Program/Cur_name_dev_with_down_serv

>Alert<09>successful process N: F:0
>A:Program/Cur_name_dev_with_down_servAlert processing C:1120 item= 
>alert=Program/Cur_name_down_dev attempt=0

>Alert processing C:1120 item= alert=Program/Cur_name_down_dev attempt=0 
>20011126<09>112000<09><09>Alert<09>successful process N: F:0 
>A:Program/Cur_name_down_dev

>Alert<09>successful process N: F:0 A:Program/Cur_name_down_devAlert processing C:1120
>item= alert=Program/Cur_num_down_dev attempt=0 Alert processing C:1120 item=
>alert=Program/Cur_num_down_dev attempt=0 20011126<09>112000<09><09>Alert<09>successful
>process N: F:0 A:Program/Cur_num_down_dev
>Alert<09>successful process N: F:0 A:Program/Cur_num_down_devAlert processing C:1120
>item= alert=Program/Cur_num_down_serv attempt=0 Alert processing C:1120 item=
>alert=Program/Cur_num_down_serv attempt=0 
>20011126<09>112000<09><09>Alert<09>successful
>process N: F:0 A:Program/Cur_num_down_serv
>Alert<09>successful process N: F:0 A:Program/Cur_num_down_servAlert processing C:1120
>item= alert=Program/Cur_num_up_hosts attempt=0 Alert processing C:1120 item=
>alert=Program/Cur_num_up_hosts attempt=0 20011126<09>112000<09><09>Alert<09>successful
>process N: F:0 A:Program/Cur_num_up_hosts
>Alert<09>successful process N: F:0 A:Program/Cur_num_up_hosts 


>                         \\\///
>                        / _  _ \
>                      (| (.)(.) |)
> +------------------.OOOo--()--oOOO.--------------------+ 
> |Robert P. Walters          (316) 681-5130 Direct Ext. | 
> |Systems Manager            (316) 579-2219 Local Pager | 
> |Lodgeworks                 (316) 681-5118 Main Fax    | 
> |8100 E. 22nd St. N.         (888) 493-0762 Natnl Pager | 
> |Bldg. 500                  Internet Email Address     | 
> |Wichita, KS 67226      [EMAIL PROTECTED]  | 
> +--------------------.oooO-----------------------------+ 
>                      (   )   Oooo.
>                       \ (    (   )
>                        \_)    ) /
>                              (_/



>-----Original Message-----
>From: Joe Sepielli [mailto:[EMAIL PROTECTED]] Sent: Monday, November 26, 2001
>11:27 AM
>To: [EMAIL PROTECTED]
>Subject: RE: [WhatsUp Forum] Screen saver info


>Robert,

>You found the flaw in my original solution.  The down devices are passed to cmd as a
>space separated list of devices. Each would be picked up as %1 %2 ...
>The following will write the entire command line to the output file. 

>- Create a a bat file containing this command:
>  echo %CMDCMDLINE%>test.out
>- Create a Program Notification:
>  o Program filename=yourfile.bat
>  o Program arguments= %d %t Down Devices: %e Devices with down services: %A - Create 
>a
>Recurring Notification that calls yourfile.bat. Sample Output:
>CMD /C "C:\Program Files\WhatsUp\test.bat" 11/26/2001 12:13:00 Down Devices: host1.com
>host2.com Devices with down services: host3 host5 

>Note: This method will write the entire command line to the output file. You will need
>to parse the output file to strip out the following: CMD /C "C:\Program
>Files\WhatsUp\test.bat" 

>Joe

>In reply to 26 Nov message from [EMAIL PROTECTED]: 

>>I am looking into doing something similar, but instead of a screen saver, I
>am only
>>going to update a system status marquee on a website.  But when I try the
>basic batch
>>file mentioned in the this chain, I just get one device down, and one
>device with a
>>service down, I have intentionally made multiple devices be is a down state
>for the
>>test.  Also, the device listed as 'service down' is not monitoring any
>services, just
>>ping response.  Any ideas?  bellow is the exact batch file I am using, any
>help or hint
>>would be greatly appreciated.  Could you send me the contents of the file
>you are 
>>using?  

>>Thanks,

>>RPW


>>: Batch file :

>>echo WhatsUp Gold Status at %1 ... Down Devices:  %2, Devices with down
>services 
>>%3>cur_stat.txt

>>: output from execution by WhatsUp :

>>WhatsUp Gold Status at 09:17:00 ... Down Devices:  10.15.5.51, Devices with
>down
>>services  10.15.8.51

>>: In this test run, both IPs are printers, neither have services being
>monitored, just
>>IP pings.




>>                         \\\///
>>                        / _  _ \
>>                      (| (.)(.) |)
>> +------------------.OOOo--()--oOOO.--------------------+ 
>> |Robert P. Walters          (316) 681-5130 Direct Ext. | 
>> |Systems Manager            (316) 579-2219 Local Pager | 
>> |Lodgeworks                 (316) 681-5118 Main Fax    | 
>> |8100 E. 22nd St. N.         (888) 493-0762 Natnl Pager | 
>> |Bldg. 500                  Internet Email Address     | 
>> |Wichita, KS 67226      [EMAIL PROTECTED]  | 
>> +--------------------.oooO-----------------------------+ 
>>                      (   )   Oooo.
>>                       \ (    (   )
>>                        \_)    ) /
>>                              (_/



>>-----Original Message-----
>>From: Rod Carty [mailto:[EMAIL PROTECTED]]
>>Sent: Tuesday, November 20, 2001 1:03 PM
>>To: WhatsUp forum
>>Subject: [WhatsUp Forum] Screen saver info


>>I'm thinking about building a screen saver for one of my customers that
>displays simple
>>scrolling marquee-style text and changes color according to WUG's status.
>I've looked
>>around for an existing screen saver that could accept some real-time input
>like this
>>and found nothing so it looks like I'm building it. I looked through the
>registry for
>>WUG, looking for some item there that should indicate current status
>similar to the WUG
>>taskbar icon - green, yellow or red - but didn't find anything. Does
>someone know of a
>>way for me to hook into WUG realtime? 
>>-- 
>>Rod C--
>>Enterprise Network Consulting
>>Whitehorse, Yukon
>>http://www.enc.yk.net/
>>http://www.geocities.com/rodcarty/

>>>> Error: keyboard locked - try anything you can think of. <<
>>The preceding humor inserted by QuipSig
>>http://www.enc.yk.net/quipsig/
>>4,000 quip repertory!

>>Please visit http://www.ipswitch.com/support/mailing-lists.html to be
>removed from this
>>list.

>>An Archive of this list is available at:
>>http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/ 

>>Please visit http://www.ipswitch.com/support/mailing-lists.html to be
>removed from this
>>list.

>>An Archive of this list is available at:
>>http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/ 



>Please visit http://www.ipswitch.com/support/mailing-lists.html to be removed from 
>this
>list.

>An Archive of this list is available at:
>http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/ 

>Please visit http://www.ipswitch.com/support/mailing-lists.html to be removed from 
>this
>list.

>An Archive of this list is available at:
>http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/ 



Please visit http://www.ipswitch.com/support/mailing-lists.html 
to be removed from this list.

An Archive of this list is available at:
http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/

Reply via email to