[xymon] RE: dnsreg installation

Raymond, David David.Raymond at ca.ebarrette.com
Wed Jan 26 00:13:55 CET 2011


ok,

This is what i have.
in hobbitlaunch.cfg i add this portion:
[dnsreg]
        ENVFILE /usr/lib/hobbit/client/etc/hobbitclient.cfg
        CMD /usr/lib/hobbit/server/ext/dnsreg
        LOGFILE $BBSERVERLOGS/bb-dnsreg.log
        INTERVAL 5m

and in bb-host, i add
group Domains
0.0.0.0         domain1.net     # noconn dnsreg
0.0.0.0         domain2.com          # noconn dnsreg

and copy the dnsreg.sh from xymon in
/usr/lib/hobbit/server/ext

let me know i do something wrong.

David Raymond

Barrette

583 Grand-Bernier Nord, St-Jean-sur-Richelieu, Qc, CA, J3B 8K1
D: 450.357.7000 x7064 C: 514.603.0986 F: 450.515.8055
www.batiparbarrette.com



-----Original Message-----
From: Dugan, Darin D [EIT] [mailto:dddugan at iastate.edu]
Sent: Tue 2011-01-25 18:07
To: xymon at xymon.com
Subject: [xymon] RE: dnsreg installation
 
For my environment I just run the dnsreg script from the hobbit user's cron once a day:

(still running an older version using hobbit/bb naming conventions)

0 6 * * *       /home/hobbit/server/bin/bbcmd --env=/home/hobbit/server/etc/hobbitserver.cfg /home/hobbit/server/ext/dnsreg

 

Then just include the 'dnsreg' tag where appropriate in bb-hosts like:

 

page dnsreg DNS Registrations

0.0.0.0         domain1.org           # noconn dnsreg

0.0.0.0         domain2.info         # noconn dnsreg

 

I also made two slight modifications to the script it seems. One is to the sed portion of the EXPIRESTRING command so the date would parse correctly, and the other is just to add a short sleep at the end of the loop to avoid the whois server from getting annoyed with me.

 

Cheers.

 

 

From: Raymond, David [mailto:David.Raymond at ca.ebarrette.com] 
Sent: Tuesday, January 25, 2011 3:42 PM
To: xymon at xymon.com
Subject: [xymon] dnsreg installation

 

Hi,

 

I see one post on this, but it was modified by the user.

I want to know how could I get it work. On xymon.com, it only show the script, I have done this part.

I have also add in hobbitlaunch.cfg the part for dnsreg for each 5 min to verified if it work, after I want change it to 1day.

 

But nothing appear. I have restart server few time. 

Maybe I do something wrong.

 

Thx in advance to help me.

 

David Raymond 




More information about the Xymon mailing list