- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Can DNS generate SMNP when named is dead?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2005 08:54 PM
08-07-2005 08:54 PM
Can DNS generate SMNP when named is dead?
I wonder if anyone can help me on this.
If the named daemon is dead, can DNS able to generate SMNP. If yes, how can i check this from my DNS? Or how can i configure my DNS server to generate SMNP for alerting me the named daemon.
My DNS is running with the software(bind 8.2.5-rel and HP-Unix 11.0).
Many thanks.
Best regards,
martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2005 08:58 PM
08-07-2005 08:58 PM
Re: Can DNS generate SMNP when named is dead?
So, it can't generate nothing when it's dead. You need somekind of software that will check if named is up and generate *SNMP* in the case of error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2005 09:03 PM
08-07-2005 09:03 PM
Re: Can DNS generate SMNP when named is dead?
Does HP Unix 11-00 come with software to monitor the named daemon? Can i enable it and how?
Thank you.
Best regards,
martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2005 09:37 PM
08-07-2005 09:37 PM
Re: Can DNS generate SMNP when named is dead?
Use a script like this:
PROC=`ps -ef|grep gated |grep -v grep`
if [[ $PROC = "gated" ]] then
mailx -s "Warning! gated process not running" xxxxx@yy.com
fi
Sudeesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2005 09:39 PM
08-07-2005 09:39 PM
Re: Can DNS generate SMNP when named is dead?
You have to write it or buy a monitoring software.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2005 10:05 PM
08-07-2005 10:05 PM
Re: Can DNS generate SMNP when named is dead?
PROC=`ps -ef|grep gated |grep -v grep`
if [[ $PROC = "" ]] then
mailx -s "Warning! gated process not running" xxxxx@yy.com
fi
Sudeesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2005 12:49 AM
08-08-2005 12:49 AM
Re: Can DNS generate SMNP when named is dead?
here's a snippet from the config file:
###############################################################################
# Process checks.
#
# The following are examples of how to use the agent to check for
# processes running on the host. The syntax looks something like:
#
# proc NAME [MAX=0] [MIN=0]
#
# NAME: the name of the process to check for. It must match
# exactly (ie, http will not find httpd processes).
# MAX: the maximum number allowed to be running. Defaults to 0.
# MIN: the minimum number to be running. Defaults to 0.
#
# Examples:
#
# Make sure mountd is running
#proc mountd
I should add that net-snmp builds and runs on hp-ux, but must be configured to stay out of HP-UX' SnmpMaster daemon by using a different port.
florian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2005 02:26 AM
08-08-2005 02:26 AM
Re: Can DNS generate SMNP when named is dead?
MYPROC=named
PROC=$(UNIX95= ps -fC $MYPROC)
[[ $PROC = "" ]] && mailx -s "Warning! $MYPROC process not running" xxxxx@yy.com
However, named always runs, so if it gets killed, either you need patches or someone with root capability made a big mistake.
Bill Hassell, sysadmin