Hi all, for those of you that followed my lamentation about the nvsniffer,
here I send the Ver 1.0 of some scripts that almost do what I wanted,
thanks James the Red Book was useful. (and only with sh and awk)
Here is my experience:
First I created a root graph:
wtgtm addr 1 Banelcos 9 3
here is the code of wtgtm (stolen from the redbook).
(See attached file: wtgtm)
then inside this map I created the symbols of the ATM machines
(See attached file: create_banelcos.ksh)(See attached file: chk_x25vc.ksh)
Now I can poll using the following (it is a little verbose but is Ver 1.0).
nvdbformat -f check_banelco.format|awk -f check_banelco.awk
(See attached file: check_banelco.awk)(See attached file:
check_banleco.format)
Fell free to use it and to suggest what ever you want (you can say my
scripting is bad too :) .
Bye
wtgtm
Description: Binary data
create_banelcos.ksh
Description: Binary data
chk_x25vc.ksh
Description: Binary data
check_banelco.awk
Description: Binary data
check_banleco.format
Description: Binary data
|