Thanks Franck and Raj, solutions you provide are very helpful for my problem. 

Regards.

-----Original Message-----
From: Franck, Raphael [mailto:raphael.fra...@computacenter.com] 
Sent: Friday, June 20, 2014 11:42 AM
To: spectrum
Subject: [spectrum] AW: NCM cannot capture configs devices list mail

Hi Cinar, list,

if running SRM (Spectrum Report Manager), you might schedule an alarm report 
showing just the alarmtype mentioned by Raj.
Additionally, this question was discussed here back in March 2011, which I 
happen to remember because I wrote an answer at that time. I guess it is still 
valid, but did not verify. Also make sure to take extra care for multi 
landscape environments.

<snip>
some years ago I created a version 8.1 vnmsh script, that extracts that 
information and sends it via email.
Basically, the list of failed devices is stored as a list of model_handles in 
one list attribute on the Global_Sync_Task model.

the most important parts commented:

# get the Global Sync task's model_handle MHGST=`CLISESSID=$$; 
CLIMNAMEWIDTH=64; export CLISESSID CLIMNAMEWIDTH; ${SPECROOT}/vnmsh/show models 
mth=0x82000c | grep "^0x.*Global Sync Task.*" | awk '{print $1}'`

# get the model handles of the failed devices FAILED=`CLISESSID=$$; 
CLIMNAMEWIDTH=64; export CLISESSID CLIMNAMEWIDTH; ${SPECROOT}/vnmsh/show 
attributes attr=0x820045 mh=${MHGST} | grep "^0x" | awk '{print $4}'`

# check the failed devices count
COUNT=`echo ${FAILED} | grep -v "^$" | wc -l` # if no devices are in the failed 
list, exit at this point if [ 0 -eq ${COUNT} ] then
        exit 0
fi

# get details (name and ip address) for every failed device for MH in ${FAILED} 
do
        NAME=`CLISESSID=$$; CLIMNAMEWIDTH=64; export CLISESSID CLIMNAMEWIDTH; 
${SPECROOT}/vnmsh/show attributes attr=0x1006e mh=${MH} | grep "^0x" | awk 
'{print $3}'`
        ADDRESS=`CLISESSID=$$; CLIMNAMEWIDTH=64; export CLISESSID 
CLIMNAMEWIDTH; ${SPECROOT}/vnmsh/show attributes attr=0x1027f mh=${MH} | grep 
"^0x" | awk '{print $3}'`

        # echo the device info
        echo "${NAME};${ADDRESS}"
done

</snip>

Mit freundlichen Gruessen - Yours sincerely

Raphael Franck
Consultant
Global Infrastructure Operations

Computacenter AG & Co oHG
Enabling Users

Europaring 34-40, 50170 Kerpen, Germany
E-Mail: raphael.fra...@computacenter.com
WWW: www.computacenter.de


-----Ursprüngliche Nachricht-----
Von: Anil Cinar (Garanti Teknoloji) [mailto:anil...@garanti.com.tr]
Gesendet: Donnerstag, 19. Juni 2014 13:24
An: spectrum
Cc: 'spectrum'
Betreff: RE:[spectrum] NCM cannot capture configs devices list mail

Hi,

Thanks for info Raj.  I have a configured alarm for 'capture failed' situation 
but I'm trying to obtain full list of failed devices at a time, not separate 
mails. So I need kind of a daily report of failed devices actually.

Thanks,
Regards.

-----Original Message-----
From: Rajasekhar Allala [mailto:rajasekhar.all...@techmahindra.com]
Sent: Thursday, June 19, 2014 2:12 PM
To: Anil Cinar (Garanti Teknoloji)
Cc: 'spectrum'
Subject: RE: NCM cannot capture configs devices list mail

Whenever configuration capture fails, there will be an event generated. I 
guess, that event generates alarm as well (didn't remember). You can mail that 
alarm to respective team using alarm notifier.
If the event doesn't generate alarm, you can edit/update the event generate an 
alarm and send that to email recipients using Alarm Notifier.

Hope this helps.

Cheers..
Raj

-----Original Message-----
From: Anil Cinar (Garanti Teknoloji) [mailto:anil...@garanti.com.tr]
Sent: Thursday, June 19, 2014 4:37 PM
To: spectrum
Cc: 'spectrum'
Subject: [spectrum] NCM cannot capture configs devices list mail


Hi,

I'm trying to mail the daily list of devices.which are failed to capture 
config. I can see the list on OC console, under Configuration Manager --> Tasks 
--> Global Sync Task (task works daily) -->  Failed Devices List ; but how is 
it possible to mail that list daily? Anybody have an idea about that?

Thanks,
Regards.
Bu mesaj ve ekleri, mesajda gonderildigi belirtilen kisi/kisilere ozeldir ve 
gizlidir. Bu mesajin muhatabi olmamaniza ragmen tarafiniza ulasmis olmasi 
halinde mesaj iceriginin gizliligi ve bu gizlilik yukumlulugune uyulmasi 
zorunlulugu tarafiniz icin de soz konusudur. Mesaj ve eklerinde yer alan 
bilgilerin dogrulugu ve guncelligi konusunda gonderenin ya da sirketimizin 
herhangi bir sorumlulugu bulunmamaktadir. Sirketimiz mesajin ve bilgilerinin 
size degisiklige ugrayarak veya gec ulasmasindan, butunlugunun ve gizliliginin 
korunamamasindan, virus icermesinden ve bilgisayar sisteminize verebilecegi 
herhangi bir zarardan sorumlu tutulamaz.

This message and attachments are confidential and intended solely for the 
individual(s) stated in this message. If you received this message although you 
are not the addressee, you are responsible to keep the message confidential. 
The sender has no responsibility for the accuracy or correctness of the 
information in the message and its attachments. Our company shall have no 
liability for any changes or late receiving, loss of integrity and 
confidentiality, viruses and any damages caused in anyway to your computer 
system.

---
To unsubscribe from spectrum, send email to lists...@unc.edu with the body: 
unsubscribe spectrum rajasekhar_all...@mahindrasatyam.com

________________________________

DISCLAIMER:
This email (including any attachments) is intended for the sole use of the 
intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE 
COMPANY INFORMATION. Any review or reliance by others or copying or 
distribution or forwarding of any or all of the contents in this message is 
STRICTLY PROHIBITED. If you are not the intended recipient, please contact the 
sender by email and delete all copies; your cooperation in this regard is 
appreciated.


============================================================================================================================
Disclaimer:  This message and the information contained herein is proprietary 
and confidential and subject to the Tech Mahindra policy statement, you may 
review the policy at http://www.techmahindra.com/Disclaimer.html externally 
http://tim.techmahindra.com/tim/disclaimer.html internally within TechMahindra.
============================================================================================================================

Bu mesaj ve ekleri, mesajda gonderildigi belirtilen kisi/kisilere ozeldir ve 
gizlidir. Bu mesajin muhatabi olmamaniza ragmen tarafiniza ulasmis olmasi 
halinde mesaj iceriginin gizliligi ve bu gizlilik yukumlulugune uyulmasi 
zorunlulugu tarafiniz icin de soz konusudur. Mesaj ve eklerinde yer alan 
bilgilerin dogrulugu ve guncelligi konusunda gonderenin ya da sirketimizin 
herhangi bir sorumlulugu bulunmamaktadir. Sirketimiz mesajin ve bilgilerinin 
size degisiklige ugrayarak veya gec ulasmasindan, butunlugunun ve gizliliginin 
korunamamasindan, virus icermesinden ve bilgisayar sisteminize verebilecegi 
herhangi bir zarardan sorumlu tutulamaz.

This message and attachments are confidential and intended solely for the 
individual(s) stated in this message. If you received this message although you 
are not the addressee, you are responsible to keep the message confidential. 
The sender has no responsibility for the accuracy or correctness of the 
information in the message and its attachments. Our company shall have no 
liability for any changes or late receiving, loss of integrity and 
confidentiality, viruses and any damages caused in anyway to your computer 
system.

---
To unsubscribe from spectrum, send email to lists...@unc.edu with the body: 
unsubscribe spectrum raphael.fra...@computacenter.com


-----------------------------------
Computacenter AG & Co. oHG, mit Sitz in Kerpen (Amtsgericht Köln HRA 18096) 
Vertretungsberechtigte Gesellschafter:
Computacenter Aktiengesellschaft, mit Sitz in Köln (Amtsgericht Köln HRB 28384)
Vorstand: Tony Conophy
Aufsichtsrat: Michael Norris (Vorsitzender) Computacenter Management GmbH, mit 
Sitz in Köln (Amtsgericht Köln HRB 28284)
Geschäftsführer: Dr. Karsten Freihube, Dr. Christine Haupt, Dr. Thomas 
Kottmann, Reiner Louis, Thomas Jescheck, Nils Scheller Visit us on the 
Internet: http://www.computacenter.de Visit our Online-Shop: 
https://shop.computacenter.de

This email is confidential. If you are not the intended recipient, you must not 
disclose or use the information contained in it. If you have received this mail 
in error, please tell us immediately by return email and delete the document.
-----------------------------------


---
To unsubscribe from spectrum, send email to lists...@unc.edu with the body: 
unsubscribe spectrum anil...@garanti.com.tr
Bu mesaj ve ekleri, mesajda gonderildigi belirtilen kisi/kisilere ozeldir ve 
gizlidir. Bu mesajin muhatabi olmamaniza ragmen tarafiniza ulasmis olmasi 
halinde mesaj iceriginin gizliligi ve bu gizlilik yukumlulugune uyulmasi 
zorunlulugu tarafiniz icin de soz konusudur. Mesaj ve eklerinde yer alan 
bilgilerin dogrulugu ve guncelligi konusunda gonderenin ya da sirketimizin 
herhangi bir sorumlulugu bulunmamaktadir. Sirketimiz mesajin ve bilgilerinin 
size degisiklige ugrayarak veya gec ulasmasindan, butunlugunun ve gizliliginin 
korunamamasindan, virus icermesinden ve bilgisayar sisteminize verebilecegi 
herhangi bir zarardan sorumlu tutulamaz.

This message and attachments are confidential and intended solely for the 
individual(s) stated in this message. If you received this message although you 
are not the addressee, you are responsible to keep the message confidential. 
The sender has no responsibility for the accuracy or correctness of the 
information in the message and its attachments. Our company shall have no 
liability for any changes or late receiving, loss of integrity and 
confidentiality, viruses and any damages caused in anyway to your computer 
system.

---
To unsubscribe from spectrum, send email to lists...@unc.edu with the body: 
unsubscribe spectrum arch...@mail-archive.com

Reply via email to